updated meta config #63
Workflow file for this run
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 | |
on: | |
push: | |
tags: | |
- v* | |
jobs: | |
publish: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: read | |
id-token: write | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup Deno | |
uses: denoland/setup-deno@v2 | |
with: | |
deno-version: v2.x | |
- name: Verify formatting | |
run: deno fmt --check | |
- name: Run linter | |
run: deno lint --ignore=\*\*\/\*_test.ts | |
- name: Check doc | |
run: deno task check-doc | |
- name: Run tests | |
run: deno test -A | |
- name: Check publishing requirements | |
run: deno publish --dry-run | |
- name: Publish package | |
# `jsr publish` might fail inexplicably e.g. https://github.com/Thesephi/oak-routing-ctrl/actions/runs/9922161922/job/27410907701#step:8:9 | |
run: deno publish |