Skip to content

Commit

Permalink
chore: only trigger windows ci
Browse files Browse the repository at this point in the history
  • Loading branch information
iChenLei committed Aug 20, 2023
1 parent 9227007 commit e021449
Showing 1 changed file with 20 additions and 19 deletions.
39 changes: 20 additions & 19 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ jobs:
strategy:
matrix:
# Test all mainstream operating system
os: [ubuntu-latest, macos-latest, windows-latest]
# os: [ubuntu-latest, macos-latest, windows-latest]
os: [windows-latest]
node: [18]
runs-on: ${{ matrix.os }}
steps:
Expand All @@ -33,21 +34,21 @@ jobs:
- name: Run unit test
run: npm run test

fast_node_test:
name: 'Tests on ${{matrix.os}} with node${{matrix.node}}'
strategy:
matrix:
os: [ubuntu-latest]
node: [10, 12, 14, 16, 19]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node }}
- name: Install npm dependencies
run: npm install
- name: Print put node & npm version
run: node --version && npm --version
- name: Run unit test
run: npm run test
# fast_node_test:
# name: 'Tests on ${{matrix.os}} with node${{matrix.node}}'
# strategy:
# matrix:
# os: [ubuntu-latest]
# node: [10, 12, 14, 16, 19]
# runs-on: ${{ matrix.os }}
# steps:
# - uses: actions/checkout@v2
# - uses: actions/setup-node@v2
# with:
# node-version: ${{ matrix.node }}
# - name: Install npm dependencies
# run: npm install
# - name: Print put node & npm version
# run: node --version && npm --version
# - name: Run unit test
# run: npm run test

0 comments on commit e021449

Please sign in to comment.