Skip to content

fix: package.json & yarn.lock to reduce vulnerabilities #347

fix: package.json & yarn.lock to reduce vulnerabilities

fix: package.json & yarn.lock to reduce vulnerabilities #347

Workflow file for this run

name: CD
on: [push]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [10.x, 12.x]
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- run: npm install -g yarn
- run: yarn install --dev
- name: lint scss & vue with stylelint
run: npx stylelint "./static/style/**/*.scss"
- name: lint javascript with eslint
run: npx eslint ./static/js --ext .vue,.js