Skip to content

Commit

Permalink
Merge pull request #9 from Pinta365/main
Browse files Browse the repository at this point in the history
workflow changes
  • Loading branch information
Pinta365 authored Mar 20, 2024
2 parents 4304a64 + c4ed13a commit 4a7346d
Show file tree
Hide file tree
Showing 5 changed files with 28 additions and 65 deletions.
14 changes: 0 additions & 14 deletions .github/workflows/bun.yml

This file was deleted.

28 changes: 0 additions & 28 deletions .github/workflows/deno.yml

This file was deleted.

18 changes: 0 additions & 18 deletions .github/workflows/node.yml

This file was deleted.

9 changes: 4 additions & 5 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,15 @@
# .github/workflows/publish.yml

name: Publish to JSR

on:
push:
branches:
- main
workflow_run:
workflows: ["CI Tests"]
types:
- completed

jobs:
publish:
runs-on: ubuntu-latest

permissions:
contents: read
id-token: write
Expand Down
24 changes: 24 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# .github/workflows/test.yml
name: CI Tests

on:
push:
branches: [main]
pull_request:
branches: [main]
workflow_dispatch:

jobs:
deno_ci:
uses: cross-org/workflows/.github/workflows/deno-ci.yml@main
with:
entrypoint: mod.ts
bun_ci:
uses: cross-org/workflows/.github/workflows/bun-ci.yml@main
with:
jsr_dependencies: "@cross/deepmerge @cross/runtime @cross/test @std/assert"
node_ci:
uses: cross-org/workflows/.github/workflows/node-ci.yml@main
with:
jsr_dependencies: "@cross/deepmerge @cross/runtime @cross/test @std/assert"
test_target: "tests/*.test.ts"

0 comments on commit 4a7346d

Please sign in to comment.