Skip to content

Commit

Permalink
update workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
thednp committed Nov 29, 2023
1 parent fdd150c commit e3ca5ee
Showing 1 changed file with 11 additions and 7 deletions.
18 changes: 11 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}

0 comments on commit e3ca5ee

Please sign in to comment.