Skip to content

Commit

Permalink
fix: build and publish
Browse files Browse the repository at this point in the history
  • Loading branch information
Ho3einWave committed Oct 1, 2024
1 parent e4c62fd commit 8af9f75
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,11 @@ 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: run tests on prs
steps:
- uses: actions/checkout@v3
- name: Run linting rules and tests
- name: Run tests
uses: oven-sh/setup-bun@v1
with:
bun-version: latest
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
- name: Run tests and publish
uses: oven-sh/setup-bun@v1
with:
node-version: 18
bun-version: latest
- run: bun install
- run: bun test
- run: bun run build
Expand Down

0 comments on commit 8af9f75

Please sign in to comment.