Skip to content

Merge pull request #9 from hckrnews/snyk-fix-e59335f367ff5573cd12e05b… #31

Merge pull request #9 from hckrnews/snyk-fix-e59335f367ff5573cd12e05b…

Merge pull request #9 from hckrnews/snyk-fix-e59335f367ff5573cd12e05b… #31

Workflow file for this run

name: Node CI
on: [push]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x, 20.x, 21.x]
steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- name: npm install, build, and test
run: |
npm ci
npm run vulnerabilities
npm run lint
npm run cpd
npm test
env:
NPM_TOKEN: ${{secrets.NPM_TOKEN}}
NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}
CI: true