Skip to content

#1356 Add Snyk file to run as part of CI #1

#1356 Add Snyk file to run as part of CI

#1356 Add Snyk file to run as part of CI #1

Workflow file for this run

name: CI
on:
push:
branches:
- dev
pull_request:
branches:
- dev
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Set up Node.js
uses: actions/setup-node@v2
with:
node-version: '20.14.0'
- name: Install Snyk
run: npm install -g snyk
- name: Authenticate Snyk
run: snyk auth ${{ secrets.SNYK_TOKEN }}
- name: Run Snyk to check for vulnerabilities
run: snyk test