Skip to content

Bump GitHub Actions dependencies #52

Bump GitHub Actions dependencies

Bump GitHub Actions dependencies #52

Workflow file for this run

name: Mocha tests
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
defaults:
run:
working-directory: scripts/src
strategy:
matrix:
node-version: [16.x, 18.x, 20.x]
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
cache-dependency-path: scripts/src/package-lock.json
- run: |
npm install
npm test