File tree Expand file tree Collapse file tree 1 file changed +19
-8
lines changed
Expand file tree Collapse file tree 1 file changed +19
-8
lines changed Original file line number Diff line number Diff line change @@ -30,26 +30,37 @@ jobs:
3030 runs-on : ubuntu-latest
3131 steps :
3232 - name : Checkout
33- uses : actions/checkout@v3
33+ uses : actions/checkout@v4
3434
3535 - name : Setup node
36- uses : actions/setup-node@v3
36+ uses : actions/setup-node@v4
3737 with :
38- node-version : 16.x
38+ node-version : 18.x
39+ cache : " yarn"
40+
41+ - name : Install dependencies
42+ run : yarn install --frozen-lockfile
3943
4044 - name : Build project
45+ run : yarn build
46+
47+ - name : Verify build output
4148 run : |
42- yarn install
43- yarn build
49+ if [ ! -d "./dist" ]; then
50+ echo "Build output directory 'dist' not found!"
51+ exit 1
52+ fi
53+ echo "Build output found:"
54+ ls -la ./dist
4455
4556 - name : Setup Pages
46- uses : actions/configure-pages@v3
57+ uses : actions/configure-pages@v4
4758
4859 - name : Upload artifact
49- uses : actions/upload-pages-artifact@v1
60+ uses : actions/upload-pages-artifact@v3
5061 with :
5162 path : " ./dist"
5263
5364 - name : Deploy to GitHub Pages
5465 id : deployment
55- uses : actions/deploy-pages@v2
66+ uses : actions/deploy-pages@v4
You can’t perform that action at this time.
0 commit comments