Skip to content

update dependencies (#8) #8

update dependencies (#8)

update dependencies (#8) #8

Workflow file for this run

name: CI
on:
push:
branches:
- main
jobs:
ci:
strategy:
matrix:
os: [ubuntu-22.04, macos-13, windows-2022]
runs-on: ${{ matrix.os }}
timeout-minutes: 15
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'
- uses: actions/cache@v3
id: npm-cache
with:
path: '**/node_modules'
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: ${{ runner.os }}-node-
- name: npm ci
run: npm ci
if: steps.npm-cache.outputs.cache-hit != 'true'
- run: npm test
- name: Build
run: node scripts/build.js