Skip to content

chore(deps): upgrade several dependencies to fix vulnerabilities #354

chore(deps): upgrade several dependencies to fix vulnerabilities

chore(deps): upgrade several dependencies to fix vulnerabilities #354

Workflow file for this run

name: Build
on: [ push, pull_request ]
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: 16
- name: Cache node modules
id: cache-npm
uses: actions/cache@v3
env:
cache-name: cache-node-modules
with:
path: ./node_modules
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-build-${{ env.cache-name }}-
${{ runner.os }}-build-
${{ runner.os }}-
- name: Cache Eslint
uses: actions/cache@v3
with:
path: ./.eslintcache
key: eslintcache-${{github.sha}}
restore-keys: |
eslintcache-
- name: Install Dependencies
if: steps.cache-npm.outputs.cache-hit != 'true'
run: npm ci
- name: Run color-migration script
run: node ./color-migration.js
- name: Build
run: npm run build
- name: Run Prettier
run: npm run format:check
- name: Run ESLint
run: npm run lint