File tree Expand file tree Collapse file tree 1 file changed +19
-5
lines changed
Expand file tree Collapse file tree 1 file changed +19
-5
lines changed Original file line number Diff line number Diff line change 1111
1212jobs :
1313 build :
14-
1514 runs-on : ubuntu-latest
16-
1715 strategy :
1816 matrix :
1917 node-version : [18.x, 20.x, 22.x]
20- # See supported Node.js release schedule at https://nodejs.org/en/about/releases/
2118
2219 steps :
2320 - uses : actions/checkout@v4
2724 node-version : ${{ matrix.node-version }}
2825 cache : ' npm'
2926 - run : npm ci
30- - run : npm run build --if-present
31- - run : npm test
27+ - run : npm run build
28+ - name : Upload GitHub Pages artifact
29+ uses : actions/upload-pages-artifact@v3
30+ with :
31+ path : ./dist
32+
33+ deploy :
34+ needs : build
35+ runs-on : ubuntu-latest
36+ permissions :
37+ pages : write
38+ id-token : write
39+ environment :
40+ name : github-pages
41+ url : ${{ steps.deployment.outputs.page_url }}
42+ steps :
43+ - name : Deploy to GitHub Pages
44+ id : deployment
45+ uses : actions/deploy-pages@v4
You can’t perform that action at this time.
0 commit comments