Skip to content

chore(ci): update actions/checkout action to v4 #969

chore(ci): update actions/checkout action to v4

chore(ci): update actions/checkout action to v4 #969

Workflow file for this run

name: Build
on: [push, pull_request, merge_group]
permissions:
contents: read
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
node-version: [18, 20]
os: [ubuntu-latest]
steps:
- name: Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3.8.1
with:
node-version: ${{ matrix.node-version }}
- name: Update npm
run: |
npm install -g npm
npm --version
- uses: actions/checkout@v4.0.0
- name: Install dependencies
uses: bahmutov/npm-install@v1.8.34
with:
useLockFile: false
- run: npm ls
- name: Test
run: npm test