File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -3,6 +3,11 @@ name: CI
33
44on : [push]
55
6+ concurrency :
7+ group : " pages"
8+ cancel-in-progress : false
9+
10+
611jobs :
712 lint :
813 runs-on : ubuntu-latest
4651 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
4752 NPM_TOKEN : ${{ secrets.NPM_TOKEN }}
4853 run : npx semantic-release
54+
55+ build :
56+ runs-on : ubuntu-latest
57+ steps :
58+ - uses : actions/checkout@v6
59+ - uses : actions/setup-node@v6
60+ with :
61+ node-version : 22
62+ - run : npm i
63+ - run : npm run build
64+ - uses : actions/upload-pages-artifact@v3
65+ with :
66+ path : ./
67+
68+ deploy :
69+ runs-on : ubuntu-latest
70+ needs : build
71+ permissions :
72+ pages : write # to deploy to Pages
73+ id-token : write # to verify the deployment originates from an appropriate source
74+ environment :
75+ name : github-pages
76+ url : ${{ steps.deployment.outputs.page_url }}
77+ steps :
78+ - id : deployment
79+ uses : actions/deploy-pages@v4
You can’t perform that action at this time.
0 commit comments