Skip to content

chore(deps): Bump actions/setup-node from 2 to 4 #287

chore(deps): Bump actions/setup-node from 2 to 4

chore(deps): Bump actions/setup-node from 2 to 4 #287

Workflow file for this run

name: Node.js
on:
pull_request:
branches: [ main ]
jobs:
build:
name: Run npm build
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [16.x, 21.x]
steps:
- name: Checkout
uses: actions/checkout@v3
with:
persist-credentials: false
- name: Reconfigure git to use HTTP authentication
run: >
git config --global url."https://github.com/".insteadOf ssh://git@github.com/
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- run: npm ci
- run: npm run build