Skip to content

Commit

Permalink
chore: Updated the GitHub action
Browse files Browse the repository at this point in the history
- Use bun for the testing stage
  • Loading branch information
Adil committed Sep 21, 2024
1 parent 69bce2c commit 41f3b75
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,18 @@ on:
types: [created]

jobs:
test:
runs-on: ubuntu-latest
container:
image: oven/bun:latest
steps:
- uses: actions/checkout@v4
- run: bun install
- run: bun test

publish:
runs-on: ubuntu-latest
needs: test
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ node_modules
/*.js
!index.js
yarn.lock
bun.lockb
eslint.config.mjs

/dist
Expand Down

0 comments on commit 41f3b75

Please sign in to comment.