Skip to content

Bump actions/setup-node from 4.0.3 to 4.0.4 #555

Bump actions/setup-node from 4.0.3 to 4.0.4

Bump actions/setup-node from 4.0.3 to 4.0.4 #555

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@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@0a44ba7841725637a19e28fa30b79a866c81b0a6 # v4.0.4
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- run: npm install
- run: npm run build --if-present
- run: npm test
env:
CI: true