feat: Add lack stuffs and Enforce tests for Tuple (#250) #613
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: Test | |
on: | |
pull_request: | |
branches: [main] | |
push: | |
branches: [main] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: denoland/setup-deno@v1 | |
with: | |
deno-version: v1.x | |
- name: Check format | |
run: | | |
deno fmt --check | |
deno lint | |
- name: Generate coverage | |
run: | | |
deno task coverage | |
deno coverage --lcov --output=coverage/cov.lcov coverage/cov_profile/ | |
- uses: codecov/codecov-action@v4 | |
with: | |
files: ./coverage/cov.lcov | |
name: mini-fn | |
verbose: true | |
fail_ci_if_error: false | |
token: ${{ secrets.CODECOV_TOKEN }} | |
- name: Dry run publish | |
run: deno publish --dry-run |