Skip to content

[Snyk] Security upgrade next from 9.5.5 to 12.0.8 #702

[Snyk] Security upgrade next from 9.5.5 to 12.0.8

[Snyk] Security upgrade next from 9.5.5 to 12.0.8 #702

Workflow file for this run

name: Node CI
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [10.x, 12.x]
steps:
- uses: actions/checkout@v1
- name: Cache node modules
uses: actions/cache@v1
with:
path: node_modules
key: ${{ runner.OS }}-${{ matrix.node-version }}-build-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.OS }}-${{ matrix.node-version }}-build-${{ env.cache-name }}-
${{ runner.OS }}-${{ matrix.node-version }}-build-
${{ runner.OS }}-${{ matrix.node-version }}-
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: npm install, build, and test
run: |
npm ci
npm run build --if-present
npm test
env:
CI: true