Skip to content

Commit

Permalink
remove bun from CI
Browse files Browse the repository at this point in the history
  • Loading branch information
le0pard committed Sep 3, 2023
1 parent 757e543 commit 3507f04
Showing 1 changed file with 3 additions and 30 deletions.
33 changes: 3 additions & 30 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,34 +2,8 @@ name: Test/Build/Deploy
on: push

jobs:
test_bun:
name: "Test (Bun)"
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
persist-credentials: false

- name: Install Bun
uses: oven-sh/setup-bun@v1
with:
bun-version: latest

- name: Disable yarn pnp
run: 'echo "\nnodeLinker: node-modules\n" >> .yarnrc.yml'

- name: Install Javascript dependencies
run: bun install

- name: Run linters
run: bun run lint

- name: Run tests
run: bun run test

test_node:
name: "Test (Node)"
test:
name: "Test"
runs-on: ubuntu-latest
steps:
- name: Checkout
Expand All @@ -41,7 +15,6 @@ jobs:
uses: actions/setup-node@v3
with:
cache: 'yarn'
registry-url: 'https://registry.npmjs.org'
node-version-file: '.tool-versions'

- name: Install Javascript dependencies
Expand All @@ -55,7 +28,7 @@ jobs:

release:
name: "Release"
needs: [test_bun, test_node]
needs: test
if: startsWith(github.ref, 'refs/tags/')
runs-on: ubuntu-latest
env:
Expand Down

0 comments on commit 3507f04

Please sign in to comment.