Commit b241b35 1 parent daa78c5 commit b241b35 Copy full SHA for b241b35
File tree 1 file changed +14
-4
lines changed
1 file changed +14
-4
lines changed Original file line number Diff line number Diff line change 14
14
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
15
15
permissions :
16
16
contents : read
17
- pages : write
18
17
id-token : write
19
18
20
19
# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
@@ -26,7 +25,6 @@ concurrency:
26
25
jobs :
27
26
# Lint files
28
27
lint :
29
- name : Lint
30
28
runs-on : ubuntu-latest
31
29
steps :
32
30
- name : Checkout
41
39
with :
42
40
node-version : 20
43
41
cache : pnpm
44
- - name : Setup Pages
45
- uses : actions/configure-pages@v4
46
42
- name : Install dependencies
47
43
run : pnpm install
48
44
- name : Lint
53
49
needs : lint
54
50
runs-on : ubuntu-latest
55
51
steps :
52
+ - name : Checkout
53
+ uses : actions/checkout@v4
54
+ with :
55
+ fetch-depth : 0 # Not needed if lastUpdated is not enabled
56
+ - uses : pnpm/action-setup@v3 # Uncomment this if you're using pnpm
57
+ with :
58
+ version : 9.5
59
+ - name : Setup Node
60
+ uses : actions/setup-node@v4
61
+ with :
62
+ node-version : 20
63
+ cache : pnpm
64
+ - name : Install dependencies
65
+ run : pnpm install
56
66
- name : Build with VitePress
57
67
run : pnpm build
58
68
- name : Upload artifact
You can’t perform that action at this time.
0 commit comments