Skip to content

chore(ci): update actions/setup-node action to v4.1.0 #2315

chore(ci): update actions/setup-node action to v4.1.0

chore(ci): update actions/setup-node action to v4.1.0 #2315

Workflow file for this run

name: nodejs
on: [pull_request, push]
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
node-version: [18, 20]
os: [ubuntu-latest]
steps:
- uses: actions/checkout@v4.2.2
- name: Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4.1.0
with:
node-version: ${{ matrix.node-version }}
- name: Update npm
run: |
npm install -g npm
npm --version
- name: Install dependencies
uses: bahmutov/npm-install@v1.10.3
with:
useLockFile: false
- name: npm ls
run: npm ls
- name: Test
run: npm test