File tree Expand file tree Collapse file tree 1 file changed +43
-0
lines changed Expand file tree Collapse file tree 1 file changed +43
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : ' FMTM Dist Publish'
2
+
3
+ on :
4
+ workflow_dispatch :
5
+ push :
6
+ branches :
7
+ - fmtm
8
+
9
+ jobs :
10
+ publish :
11
+ name : ' Build and publish compiled web forms package'
12
+ runs-on : ' ubuntu-latest'
13
+ permissions :
14
+ pages : write # to deploy to Pages
15
+ id-token : write # to verify the deployment origin
16
+ environment :
17
+ name : github-pages
18
+ url : ${{ steps.deployment.outputs.page_url }}
19
+
20
+ steps :
21
+ - uses : ' actions/checkout@v4'
22
+
23
+ - uses : ' volta-cli/action@v4'
24
+ with :
25
+ node-version : ' 22.12.0'
26
+ yarn-version : ' 1.22.22'
27
+
28
+ - run : ' yarn install --frozen-lockfile'
29
+ - run : ' yarn build --force'
30
+
31
+ - name : Upload GH Pages Artifact
32
+ uses : actions/upload-pages-artifact@v3
33
+ with :
34
+ # The final bundle is under dist/index.js
35
+ path : packages/web-forms/dist
36
+
37
+ - name : Setup Pages
38
+ id : pages
39
+ uses : actions/configure-pages@v5
40
+
41
+ - name : Deploy to GitHub Pages
42
+ id : deployment
43
+ uses : actions/deploy-pages@v4
You can’t perform that action at this time.
0 commit comments