File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ name: Deploy to Pages
22
33on :
44 push :
5- branches : [' main' ]
5+ branches : [" main" ]
66 workflow_dispatch :
77
88permissions :
@@ -11,33 +11,26 @@ permissions:
1111 id-token : write
1212
1313concurrency :
14- group : ' pages'
14+ group : " pages"
1515 cancel-in-progress : false
1616
1717env :
18- BUILD_PATH : ' . '
18+ BUILD_PATH : " . "
1919
2020jobs :
2121 build :
2222 name : Build
2323 runs-on : ubuntu-latest
2424 steps :
25- - name : Checkout
26- uses : actions/checkout@v4
27- - uses : pnpm/action-setup@v4
28- with :
29- version : 9
3025 - name : Setup Node
3126 uses : actions/setup-node@v4
3227 with :
33- node-version : ' 20'
34- cache : pnpm
35- cache-dependency-path : pnpm-lock.yaml
28+ node-version : " 20"
3629 - name : Setup Pages
3730 id : pages
3831 uses : actions/configure-pages@v5
3932 - name : Install dependencies
40- run : pnpm i --frozen-lockfile
33+ run : corepack enable && pnpm i --frozen-lockfile
4134 working-directory : ${{ env.BUILD_PATH }}
4235 - name : Build
4336 run : |
You can’t perform that action at this time.
0 commit comments