chore(deps): update dependency @types/node to v18.19.61 #2538
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 }} |