[Snyk] Fix for 4 vulnerabilities #415
Workflow file for this run
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: Tests | |
on: | |
pull_request: | |
# The branches below must be a subset of the branches above | |
branches: [master] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-node@v2 | |
with: | |
node-version: '18' | |
- name: Install modules | |
run: npm install | |
- name: Build the docker-compose stack | |
run: docker compose -f docker-compose.testing.yaml up -d | |
- name: Run integration tests | |
run: npm run test:integration | |
env: | |
ENVIRONMENT: CI | |
JWT_TOKEN: 123 | |
JWT_TOKEN_LOGIN: 456 | |
OPT_OUT_ANALYTICS: true |