-
Notifications
You must be signed in to change notification settings - Fork 57
77 lines (75 loc) · 2.06 KB
/
test.yml
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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
name: test
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
test:
name: test-action
runs-on: ubuntu-latest
permissions:
id-token: write
contents: read
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Deploy to Deno Deploy
uses: ./
with:
project: happy-rat-64
root: action/tests
entrypoint: hello.ts
import-map: ./import_map.json
- name: Deploy with single include
uses: ./
with:
project: happy-rat-64
root: action/tests
entrypoint: include_exclude.ts
include: include_exclude.ts
- name: Deploy with comma-separated include
uses: ./
with:
project: happy-rat-64
root: action
entrypoint: tests/include_exclude.ts
include: foo,tests/include_exclude.ts,bar
- name: Deploy with comma-separated exclude
uses: ./
with:
project: happy-rat-64
root: action/tests
entrypoint: include_exclude.ts
exclude: import_bomb1,import_bomb2
- name: Deploy with multiline exclude
uses: ./
with:
project: happy-rat-64
root: action/tests
entrypoint: include_exclude.ts
exclude: |
import_bomb1
import_bomb2
- name: Deploy combine include and exclude
uses: ./
with:
project: happy-rat-64
root: action
entrypoint: tests/include_exclude.ts
include: tests
exclude: |
tests/import_bomb1
tests/import_bomb2
- name: Always exclude node_modules directory
uses: ./
with:
project: happy-rat-64
root: action/tests/always_exclude_node_modules
entrypoint: main.ts
- name: Always exclude nested node_modules directory
uses: ./
with:
project: happy-rat-64
root: action/tests
entrypoint: always_exclude_node_modules/main.ts