-
-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
11 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,21 +3,25 @@ on: push | |
jobs: | ||
test: | ||
runs-on: ubuntu-20.04 | ||
name: Test on Node v16 | ||
name: Test on Node v18 | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
uses: actions/checkout@v2 | ||
|
||
- uses: pnpm/[email protected] | ||
|
||
|
||
- name: Setup Node | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: 16 | ||
node-version: 18 | ||
cache: pnpm | ||
# - uses: bahmutov/npm-install@v1 | ||
- run: npm install | ||
- run: npm run build | ||
- run: npm run test | ||
- run: pnpm install | ||
- run: pnpm build | ||
- run: pnpm run test | ||
|
||
- name: Upload coverage report on Node v16 to coveralls.io... | ||
- name: Upload coverage report on Node v18 to coveralls.io... | ||
uses: coverallsapp/github-action@master | ||
with: | ||
github-token: ${{ secrets.GITHUB_TOKEN }} |