Skip to content

Commit

Permalink
Merge pull request #173 from bancorprotocol/integrate-snyk
Browse files Browse the repository at this point in the history
ci - integrate snyk
  • Loading branch information
ivanzhelyazkov authored Nov 19, 2024
2 parents 0f9298e + d33a60a commit 67882ec
Showing 1 changed file with 30 additions and 1 deletion.
31 changes: 30 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,35 @@ on:
pull_request:

jobs:
security:
name: Security

runs-on: ubuntu-latest
steps:
- name: Check out the repository
uses: actions/checkout@v4
with:
submodules: recursive

- name: Set up pnpm
uses: pnpm/action-setup@v4
with:
version: 9

- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: '20'
cache: 'pnpm'

- name: Install dependencies
run: pnpm install

- name: Run Snyk to check for vulnerabilities
uses: snyk/actions/node@master
env:
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}

test:
name: Test

Expand All @@ -23,7 +52,7 @@ jobs:
access_token: ${{ github.token }}

- name: Check out the repository
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
submodules: recursive

Expand Down

0 comments on commit 67882ec

Please sign in to comment.