Skip to content

Commit

Permalink
fix(ci): use npm over bun
Browse files Browse the repository at this point in the history
  • Loading branch information
jenspots committed Mar 12, 2024
1 parent 12d5d3a commit 3f1dbb0
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 8 deletions.
15 changes: 8 additions & 7 deletions .github/workflows/build-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,14 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3 # Checkout repo
uses: actions/checkout@v3

- name: Setup Bun
uses: oven-sh/setup-bun@v1 # Setup bun
- name: Setup Node.js
uses: actions/setup-node@v3
with:
bun-version: latest
node-version: 21.x
cache: "npm"

- run: bun i # Install dependencies
- run: bun run build # Build sources
- run: bun test # Run tests
- run: npm ci
- run: npm run build
- run: npm run test
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"scripts": {
"build": "tsc",
"test": "jest",
"pretest": "bun run build"
"pretest": "tsc"
},
"files": [
"lib/**/*",
Expand Down

0 comments on commit 3f1dbb0

Please sign in to comment.