File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -24,46 +24,23 @@ concurrency:
2424 group : " pages"
2525 cancel-in-progress : false
2626
27- env :
28- VITE_SLACK_INVITE_URI : ${{ vars.VITE_SLACK_INVITE_URI }}
29- VITE_SIGN_UP_URI : ${{ vars.VITE_SIGN_UP_URI }}
30-
3127jobs :
3228 # Build job
3329 build :
3430 runs-on : ubuntu-latest
3531 steps :
36- - name : Checkout
37- uses : actions/checkout@v4
38- - name : Setup Node
39- uses : actions/setup-node@v4
40- with :
41- node-version : " 20"
32+ - uses : actions/checkout@v5
4233 - uses : pnpm/action-setup@v4
43- - name : Get pnpm store directory
44- shell : bash
45- run : |
46- echo "STORE_PATH=$(pnpm store path --silent)" >> $GITHUB_ENV
47-
48- - uses : actions/cache@v4
49- name : Setup pnpm cache
5034 with :
51- path : ${{ env.STORE_PATH }}
52- key : ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
53- restore-keys : |
54- ${{ runner.os }}-pnpm-store-
55- - name : Restore cache
56- uses : actions/cache@v4
35+ version : ${{ vars.PNPM_VERSION }}
36+ - name : Set-up Node
37+ uses : actions/setup-node@v5
5738 with :
58- path : |
59- dist
60- .nuxt
61- key : ${{ runner.os }}-nuxt-build-${{ hashFiles('dist') }}
62- restore-keys : |
63- ${{ runner.os }}-nuxt-build-
39+ node-version : ${{ vars.NODEJS_VERSION }}
40+ cache : ' pnpm'
6441 - name : Install dependencies
6542 run : pnpm install
66- - name : Static HTML export with Nuxt
43+ - name : Static HTML export with Sveltekit
6744 run : pnpm run build
6845 - name : Upload artifact
6946 uses : actions/upload-pages-artifact@v3
You can’t perform that action at this time.
0 commit comments