Skip to content

Commit

Permalink
Add JSR publish workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
rossholdway committed Feb 23, 2024
1 parent f24f56a commit 940431d
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 3 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: Publish
on:
push:
tags:
- '*'

jobs:
publish:
runs-on: ubuntu-latest
permissions:
contents: read
id-token: write
steps:
- uses: actions/checkout@v4
- uses: denoland/setup-deno@v1
- run: deno publish
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml → .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
name: CI
name: Tests
on: [push]
jobs:
test:
runs-on: ubuntu-latest
env:
DENO_DIR: .deno
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: denoland/setup-deno@v1
with:
deno-version: '1.39.1'
- run: deno task test
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: denoland/setup-deno@v1
with:
deno-version: '1.39.1'
Expand Down

0 comments on commit 940431d

Please sign in to comment.