chore(main): release 0.0.6 #55
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: CI | |
on: | |
push: | |
branches: ["main"] | |
pull_request: | |
branches: ["main"] | |
permissions: | |
contents: read | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Setup Deno | |
uses: denoland/setup-deno@v1 | |
with: | |
deno-version: v1.37.1 | |
- name: Verify formatting | |
run: deno fmt --check | |
- name: Run linter | |
run: deno lint | |
- name: Run tests | |
run: deno test -A --coverage=./coverage_profile | |
env: | |
PRIVATE_KEY: ${{ secrets.PRIVATE_KEY }} | |
PUBLIC_KEY: ${{ env.PUBLIC_KEY }} | |
- name: Create coverage report | |
run: deno coverage ./coverage_profile --lcov --output=./coverage.lcov | |
- name: Upload to Codecov | |
uses: codecov/codecov-action@v3 | |
with: | |
file: ${{ env.REPO_PATH }}/coverage.lcov | |
env: | |
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} |