Skip to content

Build: Bump the github-actions group with 2 updates #146

Build: Bump the github-actions group with 2 updates

Build: Bump the github-actions group with 2 updates #146

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@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
- name: Update apt-get cache
run: sudo apt-get update
- name: Install xmllint
run: sudo apt-get install -y libxml2-utils
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@a0853c24544627f65ddf259abe73b1d18a591444 # v5.0.0
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- run: npm ci
- run: npm test