Skip to content

Merge pull request #16 from hckrnews/renovate/hckrnews-express-callba… #45

Merge pull request #16 from hckrnews/renovate/hckrnews-express-callba…

Merge pull request #16 from hckrnews/renovate/hckrnews-express-callba… #45

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, 22.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