Snyk nightly CI check #734
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: Snyk nightly CI check | |
# runs nightly at midnight | |
on: | |
schedule: | |
- cron: '0 0 * * *' | |
jobs: | |
snyk: | |
runs-on: ubuntu-latest | |
environment: Snyk | |
env: | |
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }} | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 20.x | |
- run: yarn --immutable --network-timeout 1000000 | |
- run: yarn dlx -p snyk test --all-projects --fail-on=all | |
- run: yarn dlx -p snyk monitor --all-projects --org=hit |