Skip to content

Commit

Permalink
fix: workflow with bun
Browse files Browse the repository at this point in the history
  • Loading branch information
Ho3einWave committed Sep 29, 2024
1 parent 3bf240f commit 8dcdd17
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 12 deletions.
13 changes: 5 additions & 8 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,13 @@ jobs:
build:
# The type of runner that the job will run on
runs-on: ubuntu-latest
strategy:
matrix:
node: [14, 16, 18]

name: Node ${{ matrix.node }} sample
name: Bun Build
steps:
- uses: actions/checkout@v3
- name: Run linting rules and tests
uses: actions/setup-node@v3
uses: oven-sh/setup-bun@v1
with:
node-version: ${{ matrix.node }}
- run: npm ci
- run: npm run build
bun-version: latest
- run: bun install
- run: buh run build
8 changes: 4 additions & 4 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ jobs:
steps:
- uses: actions/checkout@v3
- name: Run linting rules and tests
uses: actions/setup-node@v3
uses: oven-sh/setup-bun@v1
with:
node-version: ${{ matrix.node }}
- run: npm ci
- run: npm run build
bun-version: latest
- run: bun install
- run: buh run build

0 comments on commit 8dcdd17

Please sign in to comment.