From 8af9f75e698c66eb6a3d31a20c2ce0ba0558317b Mon Sep 17 00:00:00 2001 From: Ho3einWave Date: Tue, 1 Oct 2024 16:16:20 +0330 Subject: [PATCH] fix: build and publish --- .github/workflows/pr.yml | 7 ++----- .github/workflows/release.yml | 5 +++-- 2 files changed, 5 insertions(+), 7 deletions(-) diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index 5e8b05e..a2a165c 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -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 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 449db35..f93a2c4 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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