This repository was archived by the owner on Jun 11, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 16
16
GITHUB_BRANCH : ${{ github.ref }}
17
17
GITHUB_PULL_REQUEST : ${{ github.event.number }}
18
18
GITHUB_BUILD_NUMBER : ${{ github.run_number }}
19
- NPM_REGISTRY_TOKEN : ${{ secrets.NPM_REGISTRY_TOKEN }}
20
- NPM_REGISTRY_ADDRESS : ${{ vars.NPM_REGISTRY_ADDRESS }}
21
19
22
20
jobs :
23
21
build :
@@ -112,11 +110,11 @@ jobs:
112
110
if : github.ref == 'refs/heads/master' || github.ref == 'refs/heads/develop'
113
111
with :
114
112
node-version : 16
115
- registry-url : ' https://${NPM_REGISTRY_ADDRESS}'
113
+ registry-url : ' https://${{ vars. NPM_REGISTRY_ADDRESS } }'
116
114
scope : ' @alfresco'
117
115
- run : ./scripts/publish.sh
118
116
env :
119
- NODE_AUTH_TOKEN : $NPM_REGISTRY_TOKEN
117
+ NODE_AUTH_TOKEN : ${{ secrets. NPM_REGISTRY_TOKEN }}
120
118
121
119
- uses : actions/setup-node@v3
122
120
name : Release library GH registry
Original file line number Diff line number Diff line change 12
12
13
13
cd dist/
14
14
15
- echo " Publishing on npm registry: ${NPM_REGISTRY_ADDRESS} with tag $TAG_NPM "
15
+ echo " Publishing on npm with tag $TAG_NPM "
16
16
17
17
cat package.json | grep version
18
18
19
19
npm publish --tag ${TAG_NPM} || exit 1
20
+
21
+ rm -rf .npmrc
You can’t perform that action at this time.
0 commit comments