File tree Expand file tree Collapse file tree 1 file changed +10
-56
lines changed Expand file tree Collapse file tree 1 file changed +10
-56
lines changed Original file line number Diff line number Diff line change 8
8
workflow_dispatch :
9
9
10
10
jobs :
11
- test :
12
- name : Test
13
- runs-on : ${{ matrix.os }}
14
- strategy :
15
- fail-fast : false
16
- matrix :
17
- os : [ubuntu-latest]
18
- node-version : [18, 20, 22]
19
- include :
20
- - os : macos-latest
21
- node_version : 20
22
- - os : windows-latest
23
- node_version : 20.13.1 # 20.14.0 keeps causing a native `node::SetCppgcReference+18123` error in Vitest
24
- steps :
25
- - name : Checkout
26
- uses : actions/checkout@v4
27
-
28
- - uses : ./.github/actions/setup-and-build
29
- with :
30
- node-version : ${{ matrix.node-version }}
31
-
32
- - name : Lint
33
- run : pnpm lint
34
-
35
- - name : Test
36
- run : pnpm test
37
-
38
- test-e2e :
39
- name : Test E2E
40
- runs-on : ubuntu-latest
41
- steps :
42
- - name : Checkout
43
- uses : actions/checkout@v4
44
-
45
- - uses : ./.github/actions/setup-and-build
46
-
47
- - name : Install Playwright Dependencies
48
- run : pnpm --filter=tutorialkit-e2e exec playwright install chromium --with-deps
49
-
50
- - name : Test
51
- run : pnpm test:e2e
52
-
53
11
docs :
54
12
name : Docs
55
13
runs-on : ubuntu-latest
@@ -60,18 +18,14 @@ jobs:
60
18
- uses : ./.github/actions/setup-and-build
61
19
62
20
- name : Build docs
63
- run : |
64
- pnpm run docs:build
65
- pnpm run demo:build
66
-
67
- extension :
68
- name : VSCode Extension
69
- runs-on : ubuntu-latest
70
- steps :
71
- - name : Checkout
72
- uses : actions/checkout@v4
21
+ run : pnpm run docs:build
73
22
74
- - uses : ./.github/actions/setup-and-build
75
- - name : Build extension
76
- run : |
77
- pnpm run extension:build
23
+ - name : Deploy documentation
24
+ uses : cloudflare/pages-action@v1
25
+ with :
26
+ apiToken : ${{ secrets.CLOUDFLARE_API_TOKEN }}
27
+ accountId : ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
28
+ projectName : tutorialkit-docs-page
29
+ workingDirectory : ' docs/tutorialkit.dev'
30
+ directory : dist
31
+ packageManager : pnpm
You can’t perform that action at this time.
0 commit comments