workspace publish #295
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: workspace publish | |
on: | |
release: | |
types: [published] | |
workflow_dispatch: | |
jobs: | |
publish: | |
runs-on: ubuntu-latest | |
timeout-minutes: 30 | |
permissions: | |
contents: read | |
id-token: write | |
steps: | |
- name: Clone repository | |
uses: actions/checkout@v4 | |
- name: Set up Deno | |
uses: denoland/setup-deno@v1 | |
with: | |
# TODO(kt3k): Set canary when LICENSE issue resolved. See std#5555 | |
deno-version: 1.45.3 | |
- name: Format | |
run: deno fmt --check | |
- name: Test | |
run: deno task test | |
- name: Publish to JSR | |
run: deno publish |