Skip to content

Commit

Permalink
ci: consolidate workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
amaanq committed Feb 15, 2024
1 parent 7e5d701 commit eafbf85
Show file tree
Hide file tree
Showing 4 changed files with 30 additions and 95 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: CI
on:
workflow_dispatch:
pull_request:
push:

jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: true
matrix:
os: [macos-latest, ubuntu-latest]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 18
- run: npm install
- run: npm test

test_windows:
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 18
- run: npm install
- run: npm run test-windows
32 changes: 0 additions & 32 deletions .github/workflows/linux.yml

This file was deleted.

32 changes: 0 additions & 32 deletions .github/workflows/macos.yml

This file was deleted.

31 changes: 0 additions & 31 deletions .github/workflows/windows.yml

This file was deleted.

0 comments on commit eafbf85

Please sign in to comment.