[248] Evaluation Form: add browser automation specs #640
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
push: | |
branches: | |
- dev | |
- staging | |
- production | |
pull_request: | |
branches: | |
- dev | |
- staging | |
- production | |
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 |