base: rename deno task test/and to test:deno/test:node. #1714
Workflow file for this run
This file contains hidden or 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: Deno CI | |
on: | |
push: | |
branches: [main] | |
paths-ignore: | |
- "**/*.md" | |
pull_request: | |
branches: [main] | |
paths-ignore: | |
- "**/*.md" | |
permissions: | |
contents: read | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
deno-version: [2.x] | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: denoland/setup-deno@v2 | |
with: | |
deno-version: ${{ matrix.deno-version }} | |
- name: Run deno test | |
run: | | |
deno fmt --check | |
deno task test:deno | |
deno task cov > coverage.lcov | |
- uses: codecov/codecov-action@v2 | |
if: matrix.deno-version == '2.x' | |
with: | |
token: ${{ secrets.CODECOV_TOKEN }} | |
files: ./coverage.lcov | |
flags: unittests | |
- name: Run deno publish (dry) | |
run: npx jsr publish --dry-run --allow-dirty |