Skip to content

jsr setup

jsr setup #73

Workflow file for this run

name: CI
# Controls when the action will run. Triggers the workflow on push or pull request
# events but only for the master branch
on:
push:
branches: [master]
pull_request:
branches: [master]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: denoland/setup-deno@v1
with:
deno-version: v1.x
- name: Run tests
run: deno test --allow-net --allow-read --coverage=coverage
- name: Create coverage report
run: deno coverage ./coverage --lcov > coverage.lcov
- name: Collect coverage
uses: codecov/codecov-action@v3
with:
files: ./coverage.lcov
fail_ci_if_error: true