Skip to content
This repository was archived by the owner on Jun 11, 2025. It is now read-only.

Commit 9bd75b8

Browse files
Inverte release order (#1543)
1 parent d697c76 commit 9bd75b8

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

.github/workflows/js-api-build.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -108,26 +108,26 @@ jobs:
108108
./scripts/build.sh || exit 1
109109
110110
- uses: actions/setup-node@v3
111-
name: Release library GH registry
111+
name: Release library Npm registry
112112
if: github.ref == 'refs/heads/master' || github.ref == 'refs/heads/develop'
113113
with:
114114
node-version: 16
115-
registry-url: 'https://npm.pkg.github.com'
115+
registry-url: 'https://${NPM_REGISTRY_ADDRESS}'
116116
scope: '@alfresco'
117117
- run: ./scripts/publish.sh
118118
env:
119-
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
119+
NODE_AUTH_TOKEN: $NPM_REGISTRY_TOKEN
120120

121-
- uses: actions/setup-node@v3
122-
name: Release library Npm registry
121+
- uses: actions/setup-node@v3
122+
name: Release library GH registry
123123
if: github.ref == 'refs/heads/master' || github.ref == 'refs/heads/develop'
124124
with:
125125
node-version: 16
126-
registry-url: 'https://${NPM_REGISTRY_ADDRESS}'
126+
registry-url: 'https://npm.pkg.github.com'
127127
scope: '@alfresco'
128128
- run: ./scripts/publish.sh
129129
env:
130-
NODE_AUTH_TOKEN: $NPM_REGISTRY_TOKEN
130+
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
131131

132132
- name: Release Tag
133133
if: github.ref == 'refs/heads/master'

0 commit comments

Comments
 (0)