Skip to content

Commit

Permalink
chore: add all test
Browse files Browse the repository at this point in the history
  • Loading branch information
iChenLei committed Dec 8, 2024
1 parent ba96687 commit 6683ee2
Showing 1 changed file with 25 additions and 25 deletions.
50 changes: 25 additions & 25 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,31 +9,31 @@ on:
branches: [main, master]

jobs:
# platform_spec_test:
# name: 'Tests on ${{matrix.os}} with node${{matrix.node}}'
# strategy:
# matrix:
# # Test all mainstream operating system
# os: [ubuntu-latest, macos-latest, windows-latest]
# node: [22]
# runs-on: ${{ matrix.os }}
# steps:
# # Pull repo to test machine
# - uses: actions/checkout@v2
# # Configures the node version used on GitHub-hosted runners
# - uses: actions/setup-node@v2
# with:
# # The Node.js version to configure
# node-version: ${{ matrix.node }}
# - name: Install npm dependencies
# run: npm install
# - name: Print put node & npm version
# # Output useful info for debugging.
# run: node --version && npm --version
# - name: Install chromium
# run: npx playwright install chromium
# - name: Run unit test
# run: npm run test
platform_spec_test:
name: 'Tests on ${{matrix.os}} with node${{matrix.node}}'
strategy:
matrix:
# Test all mainstream operating system
os: [ubuntu-latest, macos-latest, windows-latest]
node: [22]
runs-on: ${{ matrix.os }}
steps:
# Pull repo to test machine
- uses: actions/checkout@v2
# Configures the node version used on GitHub-hosted runners
- uses: actions/setup-node@v2
with:
# The Node.js version to configure
node-version: ${{ matrix.node }}
- name: Install npm dependencies
run: npm install
- name: Print put node & npm version
# Output useful info for debugging.
run: node --version && npm --version
- name: Install chromium
run: npx playwright install chromium
- name: Run unit test
run: npm run test

fast_node_test:
name: 'Tests on ${{matrix.os}} with node${{matrix.node}}'
Expand Down

0 comments on commit 6683ee2

Please sign in to comment.