Skip to content

Commit

Permalink
chore: update ci
Browse files Browse the repository at this point in the history
  • Loading branch information
frytg committed Nov 18, 2024
1 parent d94e8fd commit f0708cd
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 41 deletions.
21 changes: 15 additions & 6 deletions .github/workflows/pull.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
name: Test on Pull

on:
workflow_dispatch:
pull_request_target:
types: [labeled]

Expand All @@ -18,7 +19,7 @@ jobs:
test:
needs: security
name: Run Mocha Tests
name: Run Tests
runs-on: ubuntu-latest
steps:
- name: 👀 Checkout Code
Expand All @@ -29,11 +30,19 @@ jobs:
with:
node-version: ${{ env.NODE_VERSION }}

- name: 📦 Install Yarn
run: corepack enable && yarn set version stable
- name: 🛠 Setup Bun
uses: oven-sh/setup-bun@v2
with:
bun-version: latest

- name: 📦 Install Dependencies
run: yarn install
run: bun install

- name: 🧪 Run Lint
run: bun lint

- name: 🧪 Run Tests (in Bun)
run: bun test

- name: 🧪 Run Tests
run: yarn lint && yarn test
- name: 🧪 Run Tests (in Node)
run: npm run test
35 changes: 0 additions & 35 deletions .github/workflows/push.yml

This file was deleted.

0 comments on commit f0708cd

Please sign in to comment.