1
mirror of https://github.com/jakejarvis/careful-downloader.git synced 2025-09-18 13:45:32 -04:00

run tests on Windows and macOS

This commit is contained in:
2021-10-06 09:55:00 -04:00
parent 8addfddb88
commit b75aef6e80

View File

@@ -8,12 +8,26 @@ on:
jobs: jobs:
test: test:
runs-on: ubuntu-latest if: "!contains(github.event.head_commit.message, '[skip ci]')"
strategy:
matrix:
os:
- ubuntu-latest
- macos-latest
- windows-latest
node:
- 16
- 14
- 12
fail-fast: false
runs-on: ${{ matrix.os }}
name: Node ${{ matrix.node }} on ${{ matrix.os }}
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- uses: actions/setup-node@v2 - uses: actions/setup-node@v2
with: with:
node-version: '14.x' node-version: ${{ matrix.node }}
- run: yarn install --frozen-lockfile - run: yarn install --frozen-lockfile
- run: yarn audit
- run: yarn lint - run: yarn lint
- run: yarn test - run: yarn test