Skip to content

Commit

Permalink
ci: Run CI tests on Node instead of Bun
Browse files Browse the repository at this point in the history
  • Loading branch information
smessie committed Aug 26, 2024
1 parent f70ec13 commit e473c92
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 33 deletions.
29 changes: 15 additions & 14 deletions .github/workflows/build-test.yml
Original file line number Diff line number Diff line change
@@ -1,23 +1,24 @@
name: Build & Test with Bun
name: Build and tests with Node.js

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
push:
branches: [ master ]
pull_request:
branches: [ master ]

jobs:
build-and-test:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3 # Checkout repo
- name: Checkout
uses: actions/checkout@v3

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

- run: bun i # Install dependencies
- run: bun test # Run tests
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: 21.x
cache: "npm"

- run: npm ci
- run: npm run build
- run: npm run test
19 changes: 0 additions & 19 deletions .github/workflows/test.yml

This file was deleted.

0 comments on commit e473c92

Please sign in to comment.