Skip to content

workspace publish

workspace publish #295

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