File tree Expand file tree Collapse file tree 1 file changed +4
-19
lines changed Expand file tree Collapse file tree 1 file changed +4
-19
lines changed Original file line number Diff line number Diff line change @@ -21,32 +21,17 @@ jobs:
21
21
- name : checkout
22
22
uses : actions/checkout@v4
23
23
24
+ - run : corepack enable
25
+
24
26
- name : setup nodejs
25
27
uses : actions/setup-node@v4
26
28
with :
27
29
node-version : " 20"
28
30
cache : ' npm'
29
31
30
- - name : Setup Pages
31
- uses : actions/configure-pages@v5
32
- with :
33
- static_site_generator : nuxt
34
-
35
- - name : restore cache
36
- uses : actions/cache@v4
37
- with :
38
- path : |
39
- dist
40
- .nuxt
41
- key : ${{ runner.os }}-nuxt-build-${{ hashFiles('dist') }}
42
- restore-keys : |
43
- ${{ runner.os }}-nuxt-build-
44
-
45
- - name : install dependencies
46
- run : npm ci
32
+ - run : npm ci
47
33
48
- - name : generate static files
49
- run : npm run generate
34
+ - run : npx nuxt build --preset github_pages
50
35
51
36
- name : upload artifact
52
37
uses : actions/upload-pages-artifact@v3
You can’t perform that action at this time.
0 commit comments