Skip to content

Bump actions/setup-node from 4.0.3 to 4.1.0 #584

Bump actions/setup-node from 4.0.3 to 4.1.0

Bump actions/setup-node from 4.0.3 to 4.1.0 #584

Workflow file for this run

# .github/workflows/nodejs-test.yml
name: Node.js CI
on:
push:
branches:
- master
pull_request:
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: ['18', '20']
steps:
- uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4.1.0
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- run: npm install
- run: npm run build --if-present
- run: npm test
env:
CI: true