2022-12-07 17:43:47 +00:00
|
|
|
name: Test
|
2022-10-15 16:38:40 +00:00
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches: ["main"]
|
|
|
|
pull_request:
|
|
|
|
branches: ["main"]
|
|
|
|
|
|
|
|
permissions:
|
|
|
|
contents: read
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
test:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- name: Setup repo
|
|
|
|
uses: actions/checkout@v3
|
|
|
|
|
|
|
|
- name: Setup Deno
|
2023-05-23 18:53:53 +00:00
|
|
|
uses: denoland/setup-deno@v1
|
2022-10-15 16:38:40 +00:00
|
|
|
with:
|
2024-01-25 13:51:10 +00:00
|
|
|
deno-version: v1.39
|
2022-10-15 16:38:40 +00:00
|
|
|
|
2022-11-01 16:28:14 +00:00
|
|
|
- name: Run build
|
|
|
|
run: deno task build
|
2022-10-15 16:38:40 +00:00
|
|
|
|
2024-01-25 10:42:36 +00:00
|
|
|
- name: Run type check
|
|
|
|
run: deno task check
|
|
|
|
|
2022-10-15 16:38:40 +00:00
|
|
|
- name: Run tests
|
2023-05-23 18:53:53 +00:00
|
|
|
run: deno task test --trace-ops
|