Skip to content

chore: update to publish on github release with npm trusted publishin… #7

chore: update to publish on github release with npm trusted publishin…

chore: update to publish on github release with npm trusted publishin… #7

Workflow file for this run

name: Security
on: [push, workflow_dispatch]
jobs:
vuln-dep-check:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Install node
uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'
cache: npm
- name: npm audit
run: npx audit-ci@^6 --config ./audit-ci.jsonc
semgrep:
runs-on: ubuntu-latest
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
env:
SEMGREP_APP_TOKEN: ${{ secrets.SEMGREP_APP_TOKEN }}
container:
image: returntocorp/semgrep
steps:
- uses: actions/checkout@v4
- run: semgrep ci