Initial commit #1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Publish to JSR 🚀 | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
publish: | |
name: Publish JSR Package 📦 | |
runs-on: ubuntu-latest | |
permissions: | |
contents: read | |
id-token: write # The OIDC ID token is used for authentication with JSR. | |
steps: | |
- name: Checkout Repository 🛎️ | |
uses: actions/checkout@v4 | |
- name: Setup Deno 🦕 | |
uses: denoland/setup-deno@v2 | |
with: | |
deno-version: v2.x | |
- name: Run Tests 🧪 | |
run: deno task test | |
- name: Publish Package 🚀 | |
run: deno publish |