Skip to content

move out from src folder #39

move out from src folder

move out from src folder #39

Workflow file for this run

name: Checking
on: push
permissions:
contents: read
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Setup repo
uses: actions/checkout@v4
- name: Setup Deno
uses: denoland/setup-deno@v1
with:
deno-version: v1.x
- name: Run linter
run: deno lint
- name: Run sanity check
run: |-
[[ "$(deno run mod.ts < tests/sample.ts.md | deno run -)" == "10" ]] && echo ok
- name: Run tests
run: |-
deno test -A --quiet --coverage
deno coverage --lcov --output=cov.lcov
deno coverage
- name: Run publish --dry-run
run: deno publish --dry-run --allow-dirty
- name: Run codecov
uses: codecov/codecov-action@v4
with:
files: ./cov.lcov
token: ${{ secrets.CODECOV_TOKEN }}