Skip to content

chore(deps): update dependency @types/node to v22 #2555

chore(deps): update dependency @types/node to v22

chore(deps): update dependency @types/node to v22 #2555

Workflow file for this run

name: Build
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
# note: keep in sync with if-statement on coveralls below
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: Install dependencies
run: |
npm ci
- name: ESLint
run: npm run eslint
- name: Prettier
run: npm run prettier:check
- name: Build
run: |
npm run build
node bin/index.js --version
npm pack
npx npm-pkg-lint
- name: Jest
run: npm test
env:
CI: true
- name: Coveralls
uses: coverallsapp/github-action@master
if: matrix.node-version == '20.x'
with:
github-token: ${{ secrets.GITHUB_TOKEN }}