Skip to content

OpenSSP: Pin dependencies in hashes #633

OpenSSP: Pin dependencies in hashes

OpenSSP: Pin dependencies in hashes #633

Workflow file for this run

name: CI-test
on:
push:
branches: '*'
pull_request:
branches: '*'
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [12.x, 14.x, 15.x]
steps:
- uses: actions/checkout@v2
- name: Test with Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- run: npx yarn install --frozen-lockfile
- run: npx prettier src/*.js --list-different || (echo 'Please correct file formatting using `yarn format` and try again.' && exit 1)
- run: npx yarn test