update README.md #78
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
# Do not edit this file directly. It is generated by Fluent Github Actions | |
name: Codecov | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
tests: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup Fluent CI | |
uses: fluentci-io/setup-fluentci@v5 | |
with: | |
wasm: true | |
pipeline: deno | |
args: | | |
fmt | |
test | |
coverage | |
- name: Upload to Codecov | |
run: fluentci run --wasm codecov upload | |
env: | |
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} | |
publish: | |
needs: tests | |
runs-on: ubuntu-latest | |
permissions: | |
contents: read | |
id-token: write | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: denoland/setup-deno@v1 | |
with: | |
deno-version: v1.41 | |
- name: Publish package | |
run: deno publish --allow-slow-types |