Skip to content

Commit

Permalink
Merge pull request #9 from krisl/upgrade-actions
Browse files Browse the repository at this point in the history
Upgrade actions
  • Loading branch information
krisl committed Nov 12, 2023
2 parents 014d0ac + d19f641 commit 51222e7
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# This workflow will do a clean installation of node dependencies, cache/restore them, build the source code and run tests across different versions of node
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-nodejs

name: Node.js CI
name: tests

on:
push:
Expand All @@ -20,12 +20,16 @@ jobs:
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/

steps:
- uses: actions/checkout@v3
- name: Checkout
uses: actions/checkout@v4
with:
show-progress: false
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
check-latest: true
- run: npm ci
- run: npm run build --if-present
- run: npm run test:cover -- --silent --verbose
Expand All @@ -41,7 +45,10 @@ jobs:
matrix:
bun-version: [latest, canary]
steps:
- uses: actions/checkout@v3
- name: Checkout
uses: actions/checkout@v4
with:
show-progress: false
- uses: oven-sh/setup-bun@v1
with:
bun-version: ${{ matrix.node-version }}
Expand Down

0 comments on commit 51222e7

Please sign in to comment.