Skip to content

Commit

Permalink
ci: prefer Node 20.x
Browse files Browse the repository at this point in the history
  • Loading branch information
yoursunny committed Jan 14, 2024
1 parent 91f4833 commit 8c96f41
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
key: build-${{ hashFiles('**/package.json') }}
- uses: actions/setup-node@v4
with:
node-version: 18
node-version: 20
- run: corepack pnpm install
env:
PUPPETEER_SKIP_DOWNLOAD: true
Expand Down Expand Up @@ -49,11 +49,11 @@ jobs:
env:
PUPPETEER_SKIP_DOWNLOAD: true
- run: corepack pnpm test
if: ${{ matrix.node != 18 }}
if: ${{ matrix.node != 20 }}
- run: corepack pnpm cover
if: ${{ matrix.node == 18 }}
if: ${{ matrix.node == 20 }}
- uses: coverallsapp/github-action@master
if: ${{ matrix.node == 18 }}
if: ${{ matrix.node == 20 }}
continue-on-error: true
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
Expand Down
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
ISC License

Copyright (c) 2019-2023, Junxiao Shi
Copyright (c) 2019-2024, Junxiao Shi

Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted, provided that the above
Expand Down

0 comments on commit 8c96f41

Please sign in to comment.