chore(ci): update actions/setup-node action to v4.0.4 #1523
Workflow file for this run
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, merge_group] | |
permissions: | |
contents: read | |
jobs: | |
build: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
node-version: [18, 20] | |
os: [ubuntu-latest] | |
steps: | |
- name: Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v4.0.4 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: Update npm | |
run: | | |
npm install -g npm | |
npm --version | |
- uses: actions/checkout@v4.1.7 | |
- name: Install dependencies | |
uses: bahmutov/npm-install@v1.10.2 | |
with: | |
useLockFile: false | |
- run: npm ls | |
- name: Test | |
run: npm test |