Skip to content

Commit

Permalink
chore: Move to Vitest and add Windows to CI runner (#63)
Browse files Browse the repository at this point in the history
  • Loading branch information
daffl committed Jan 28, 2024
1 parent d1a8e8a commit bce78fd
Show file tree
Hide file tree
Showing 15 changed files with 1,436 additions and 496 deletions.
File renamed without changes.
37 changes: 27 additions & 10 deletions .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,20 +4,37 @@ on: [push, pull_request]

jobs:
build:

runs-on: ubuntu-latest

strategy:
matrix:
node-version: [18.x, 20.x]

steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- run: npm ci
- run: npm test
env:
CI: true
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- run: npm ci
- run: npm test
env:
CI: true

build-windows:
runs-on: windows-latest

strategy:
matrix:
node-version: [20.x]

steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- run: npm ci
- run: npm test
env:
CI: true
Loading

0 comments on commit bce78fd

Please sign in to comment.