Skip to content

Build: Bump actions/setup-node from 4.0.4 to 4.1.0 #34

Build: Bump actions/setup-node from 4.0.4 to 4.1.0

Build: Bump actions/setup-node from 4.0.4 to 4.1.0 #34

Workflow file for this run

# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-nodejs
name: Node.js CI
on:
pull_request:
push:
branches-ignore: "dependabot/**"
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x, 20.x]
steps:
- name: Checkout
uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
- name: Install xmllint
run: sudo apt-get install -y libxml2-utils
- 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 ci
- run: npm test