Skip to content

ci: update release workflow #236

ci: update release workflow

ci: update release workflow #236

Workflow file for this run

name: Tests
on:
push:
pull_request:
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: denoland/setup-deno@v1
with:
deno-version: v1.x
- name: Run linter
run: deno lint
- name: Run formatter
run: deno fmt --check
- name: Run tests
run: deno test -A --coverage=coverage
- name: Create coverage report
run: deno coverage ./coverage --lcov --output=coverage.lcov
- uses: codecov/codecov-action@v3
with:
file: ./coverage.lcov
- name: Publish (dry run)
run: deno publish --dry-run