Skip to content

Commit

Permalink
Merge pull request #92 from cenfun/support-node-22
Browse files Browse the repository at this point in the history
support-node-22
  • Loading branch information
cenfun authored Nov 21, 2024
2 parents 642e468 + b20b7bf commit f2a5f1b
Showing 1 changed file with 22 additions and 4 deletions.
26 changes: 22 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,9 @@ jobs:
strategy:
fail-fast: false
matrix:
node-version:
- '20'
- '18'
node-version: [18, 20]

runs-on: ubuntu-latest

name: Test Node ${{ matrix.node-version }}

steps:
Expand All @@ -54,6 +51,27 @@ jobs:
name: artifact-${{ matrix.node-version }}
path: ./docs

test-experimental:
runs-on: ubuntu-latest
name: Test Node 22

steps:
- name: Checkout
uses: actions/checkout@v4

- name: Use Node.js version
uses: actions/setup-node@v4
with:
node-version: 22
cache: ''
- run: npm install
- run: npx playwright install --with-deps
- run: npm run build
- run: npm run test
continue-on-error: true
env:
FORCE_COLOR: true

deploy:
if: github.ref == 'refs/heads/main'
needs: test
Expand Down

0 comments on commit f2a5f1b

Please sign in to comment.