Skip to content

Merge pull request #324 from SavageCore/dependabot/npm_and_yarn/ava-6… #386

Merge pull request #324 from SavageCore/dependabot/npm_and_yarn/ava-6…

Merge pull request #324 from SavageCore/dependabot/npm_and_yarn/ava-6… #386

Workflow file for this run

name: test
on:
push:
pull_request:
branches: [master]
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os:
- ubuntu-latest
- macos-latest
- windows-latest
node_version:
- 20
architecture:
- x64
# an extra windows-x86 run:
include:
- os: windows-latest
node_version: 20
architecture: x86
name: Node ${{ matrix.node_version }} - ${{ matrix.architecture }} on ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- name: Setup node
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node_version }}
architecture: ${{ matrix.architecture }}
cache: "npm"
- name: Install latest npm
run: npm i -g npm@latest
- name: Clean install dependencies
run: npm ci
- name: Run tests
run: npm test