File tree Expand file tree Collapse file tree 1 file changed +14
-5
lines changed Expand file tree Collapse file tree 1 file changed +14
-5
lines changed Original file line number Diff line number Diff line change @@ -39,17 +39,26 @@ jobs:
39
39
issues : write # to be able to comment on released issues
40
40
pull-requests : write # to be able to comment on released pull requests
41
41
id-token : write # to enable use of OIDC for npm provenance
42
+
42
43
steps :
43
- - uses : actions/checkout@v4
44
+ - name : ⬇️ Get latest code
45
+ uses : actions/checkout@v4
44
46
with :
45
47
fetch-depth : 0
46
- - uses : actions/setup-node@v4
48
+
49
+ - name : ⬇️ Get Node.js
50
+ uses : actions/setup-node@v4
47
51
with :
48
52
node-version : 20
49
53
cache : ' npm'
50
- - run : npm i
51
- - run : npm run build
52
- - name : release
54
+
55
+ - name : 📦 Install dependencies
56
+ run : npm i
57
+
58
+ - name : 🏗️ Build
59
+ run : npm run build && npm run copy-files
60
+
61
+ - name : 🚀 Release
53
62
run : cd dist/ngx-href && npx semantic-release --branches main
54
63
env :
55
64
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments