Skip to content

Commit

Permalink
chore: update workflows config.
Browse files Browse the repository at this point in the history
  • Loading branch information
jaywcjlove committed Jun 7, 2023
1 parent 58909d8 commit 22b0d4e
Showing 1 changed file with 24 additions and 1 deletion.
25 changes: 24 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Node.js CI
on: push

jobs:
test:
Ubuntu:
name: Ubuntu Node.js ${{ matrix.node-version }}
# Containers must run in Linux based operating systems
runs-on: ubuntu-latest
Expand All @@ -14,6 +14,29 @@ jobs:
- 18
- 16

steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}

- run: npm install
- run: npm run build
working-directory: core
- run: npm run coverage
working-directory: core


Windows:
name: Windows Node.js ${{ matrix.node-version }}
# Containers must run in Linux based operating systems
runs-on: windows-latest
strategy:
fail-fast: false
matrix:
node-version:
- 18
- 16
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
Expand Down

0 comments on commit 22b0d4e

Please sign in to comment.