Skip to content

Commit

Permalink
ci: fix workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
oplik0 committed Mar 1, 2024
1 parent 0b66be7 commit f014b54
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 15 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/deno.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
name: Deno CI
on: [push, pull_request]
on:
push:
pull_request:
jobs:
test:
name: ${{ matrix.os }} test
Expand Down
30 changes: 16 additions & 14 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -1,18 +1,20 @@
name: Publish to JSR

on: [release]
on:
release:
types: [published]

jobs:
publish:
runs-on: ubuntu-latest
permissions:
contents: read
id-token: write
steps:
- uses: actions/checkout@v4
- name: Setup Deno
uses: denoland/setup-deno@v1
with:
deno-version: 1.x
- name: Publish package
run: deno publish
publish:
runs-on: ubuntu-latest
permissions:
contents: read
id-token: write
steps:
- uses: actions/checkout@v4
- name: Setup Deno
uses: denoland/setup-deno@v1
with:
deno-version: 1.x
- name: Publish package
run: deno publish

0 comments on commit f014b54

Please sign in to comment.