-
Notifications
You must be signed in to change notification settings - Fork 13
63 lines (50 loc) · 1.25 KB
/
test.yaml
File metadata and controls
63 lines (50 loc) · 1.25 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
name: VT Testing
on:
push:
env:
CI: true
jobs:
test-linux:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: denoland/setup-deno@v2
with:
deno-version: v2.x
- name: Run deno lint check
run: deno task check
- name: Run deno format check
run: deno task fmt:check
- name: Run deno tests
uses: nick-fields/retry@v3
with:
command: deno task test:lib
max_attempts: 2
timeout_seconds: 2000
env:
VAL_TOWN_API_KEY: ${{ secrets.VAL_TOWN_API_KEY }}
test-mac:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: denoland/setup-deno@v2
with:
deno-version: v2.x
- name: Run deno tests
uses: nick-fields/retry@v3
with:
command: deno task test:cmd
max_attempts: 2
timeout_seconds: 2000
env:
VAL_TOWN_API_KEY: ${{ secrets.VAL_TOWN_API_KEY_2 }}
test-publish:
runs-on: ubuntu-latest
permissions:
contents: read
id-token: write
steps:
- uses: actions/checkout@v6
- uses: actions/setup-node@v6
- name: Dry run publish package
run: npx jsr publish --dry-run