version up #4
This file contains hidden or 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 | |
| on: | |
| push: | |
| branches: | |
| - main | |
| jobs: | |
| publish: | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: read | |
| id-token: write | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: denoland/setup-deno@v1 | |
| with: | |
| deno-version: v2.x | |
| - name: Format | |
| run: deno fmt --check | |
| - name: Lint | |
| run: deno lint | |
| - name: Test | |
| run: deno task test | |
| - name: Doc tests | |
| run: deno task test:doc | |
| - name: Publish package | |
| run: deno run -A jsr:@jsr/cli publish |