1.13.0 #94
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: Build | |
on: | |
push: | |
# Sequence of patterns matched against refs/heads | |
branches: | |
- main | |
jobs: | |
build: | |
if: ${{startsWith(github.event.head_commit.message, 'WIP') != true}} | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
deno-version: [ 1.41.1 ] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Use Deno ${{ matrix.deno-version }} | |
uses: denolib/setup-deno@v2 | |
with: | |
deno-version: ${{ matrix.deno-version }} | |
- name: build and test | |
run: | | |
deno --version --unstable | |
deno task test | |
deno task coverage | |
env: | |
CI: true | |
- name: Codecov | |
uses: codecov/codecov-action@v3 | |
with: | |
files: ./docs/reports/coverage/lcov.info | |
publish: | |
needs: build | |
runs-on: ubuntu-latest | |
permissions: | |
contents: read | |
id-token: write # The OIDC ID token is used for authentication with JSR. | |
steps: | |
- uses: actions/checkout@v4 | |
- run: npx jsr publish |