aboutsummaryrefslogtreecommitdiffstats
path: root/.github/workflows/deno.yml
diff options
context:
space:
mode:
authorMatt Strapp <matt@mattstrapp.net>2024-10-29 10:32:02 -0500
committerMatt Strapp <matt@mattstrapp.net>2024-10-29 10:32:02 -0500
commit39808d6939833e18528628e7af9495f8d080150b (patch)
tree07a27b110e9061bb29017ea3a6584d93620f7e60 /.github/workflows/deno.yml
parentBasic README + LFS strikes again (diff)
downloadlocusts-39808d6939833e18528628e7af9495f8d080150b.tar
locusts-39808d6939833e18528628e7af9495f8d080150b.tar.gz
locusts-39808d6939833e18528628e7af9495f8d080150b.tar.bz2
locusts-39808d6939833e18528628e7af9495f8d080150b.tar.lz
locusts-39808d6939833e18528628e7af9495f8d080150b.tar.xz
locusts-39808d6939833e18528628e7af9495f8d080150b.tar.zst
locusts-39808d6939833e18528628e7af9495f8d080150b.zip
feat: Deno and Changesets
Signed-off-by: Matt Strapp <matt@mattstrapp.net>
Diffstat (limited to '.github/workflows/deno.yml')
-rw-r--r--.github/workflows/deno.yml30
1 files changed, 30 insertions, 0 deletions
diff --git a/.github/workflows/deno.yml b/.github/workflows/deno.yml
new file mode 100644
index 0000000..1ae1daa
--- /dev/null
+++ b/.github/workflows/deno.yml
@@ -0,0 +1,30 @@
+name: Deno
+
+on:
+ push:
+ paths:
+ - "src/packges/locusts/mod.ts"
+ - "**/deno.json"
+ - ".github/workflows/deno.yml"
+ pull_request:
+ paths:
+ - "src/packges/locusts/mod.ts"
+ - "**/deno.json"
+ - ".github/workflows/deno.yml"
+
+jobs:
+ test-and-publish:
+ name: Test
+ runs-on: ubuntu-latest
+ permissions:
+ contents: read
+ id-token: write
+ steps:
+ - name: Checkout
+ uses: actions/checkout@v4
+ - name: Setup Deno
+ uses: denolib/setup-deno@v2
+ - name: Test
+ run: deno test src/packges/locusts/mod.ts
+ - name: Publish on Tag
+ run: deno run -A jsr:@david/publish-on-tag \ No newline at end of file