Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: check
name: Checks

on:
workflow_dispatch:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: test-integration
name: Integration Tests

on:
workflow_dispatch:
Expand All @@ -22,9 +22,8 @@ jobs:
- run: deno task test:integration:${{ matrix.ircd }}

node:
name: Node.js · ergo
name: Node.js
runs-on: ubuntu-latest
needs: [deno]

steps:
- uses: actions/checkout@v4
Expand All @@ -35,9 +34,8 @@ jobs:
- run: npm run test:node:integration:ergo

bun:
name: Bun · ergo
name: Bun
runs-on: ubuntu-latest
needs: [deno]

steps:
- uses: actions/checkout@v4
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
name: test-coverage
name: Unit Tests

on:
workflow_dispatch:
workflow_call:

jobs:
coverage:
name: Check threshold
deno:
name: Deno · coverage
runs-on: ubuntu-latest

steps:
Expand All @@ -24,3 +24,27 @@ jobs:
echo "::error::Coverage ${COVERAGE}% is below the 95% threshold"
exit 1
fi

node:
name: Node.js
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 22
- run: npm install
- run: npm run test:node

bun:
name: Bun
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- uses: oven-sh/setup-bun@v2
with:
bun-version: latest
- run: bun install
- run: bun test core/*_test.ts plugins/*_test.ts runtime/bun_test.ts
25 changes: 25 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: CI

on:
workflow_dispatch:
pull_request:
branches:
- main
push:
branches:
- main

jobs:
checks:
name: Checks
uses: ./.github/workflows/ci-checks.yml

unit:
name: Unit Tests
needs: [checks]
uses: ./.github/workflows/ci-unit-tests.yml

integration:
name: Integration Tests
needs: [unit]
uses: ./.github/workflows/ci-integration-tests.yml
2 changes: 1 addition & 1 deletion .github/workflows/release-gh.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: release-gh
name: GitHub Release

on:
workflow_dispatch:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release-jsr.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: release-jsr
name: Publish to JSR

on:
workflow_dispatch:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release-npm.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: release-npm
name: Publish to npm

on:
workflow_dispatch:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release-tag.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: release-tag
name: Tag Release

on:
workflow_dispatch:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: release
name: Release

on:
workflow_dispatch:
Expand All @@ -20,7 +20,7 @@ jobs:
release-type: ${{ inputs.release-type }}

gh:
name: GitHub Release
name: GitHub
needs: [tag]
uses: ./.github/workflows/release-gh.yml
with:
Expand Down
41 changes: 0 additions & 41 deletions .github/workflows/test-unit.yml

This file was deleted.

29 changes: 0 additions & 29 deletions .github/workflows/test.yml

This file was deleted.

Loading