π update root README.md. #43
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 Workspace | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
publish: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: read | |
id-token: write | |
steps: | |
- name: Clone repository | |
uses: actions/checkout@v4 | |
- name: Set up Deno | |
uses: denoland/setup-deno@v1 | |
with: | |
deno-version: 2.0.0 | |
- name: Lint | |
run: deno lint | |
- name: Format | |
run: deno fmt --check | |
- name: Test | |
run: deno test --coverage | |
- name: Generate Coverage | |
run: deno coverage --lcov coverage/ > coverage.lcov | |
- name: Publish Coverage | |
uses: coverallsapp/github-action@v2 | |
with: | |
github-token: ${{ secrets.GITHUB_TOKEN }} | |
- name: Publish to JSR | |
run: deno publish |