Eric Bower
·
19 Nov 23
test.yml
1name: test
2
3on:
4 push:
5 branches: main
6 pull_request:
7 branches: main
8
9permissions:
10 contents: read
11
12jobs:
13 test:
14 runs-on: ubuntu-latest
15 steps:
16 - name: checkout
17 uses: actions/checkout@v3
18
19 - name: setup deno
20 uses: denoland/setup-deno@v1
21 with:
22 deno-version: v1.x
23
24 - name: format
25 run: deno fmt --check
26
27 - name: lint
28 run: deno lint
29
30 - name: test
31 run: deno task test
32
33 - name: npm
34 run: deno task npm 0.0.0