Skip to content

Merge branch 'master' of https://github.com/qdraw/starsky #4

Merge branch 'master' of https://github.com/qdraw/starsky

Merge branch 'master' of https://github.com/qdraw/starsky #4

name: Snyk analysis
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
on:
push:
branches: [ master ]
paths:
- 'documentation/**'
- 'starsky/**'
- 'documentation/**'
- 'starskydesktop/**'
workflow_dispatch:
jobs:
run:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
ref: master
- name: Setup Node.js environment
uses: actions/setup-node@v4
with:
node-version: 18
check-latest: true
- name: 'npx -y snyk auth token'
working-directory: ./
env:
SNYK_AUTH_TOKEN: ${{ secrets.SNYK_AUTH_TOKEN }}
run: npx -y snyk auth $SNYK_AUTH_TOKEN
- name: 'npx snyk test --all-projects'
working-directory: ./
run: npx snyk test --all-projects