Skip to content

Commit 4ff8983

Browse files
authored
Update the TS publish action (#56)
Npm tokens are expiring and won't be automatically renewed for 2 reasons: - The automation broke as a result of some changes on npm's side - npm is anyway moving away from tokens and offering a better way to publish packages
1 parent 4553e6d commit 4ff8983

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

.github/workflows/publish-ts-sdk.yml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -22,19 +22,19 @@ jobs:
2222
node-version: '20'
2323
registry-url: 'https://registry.npmjs.org'
2424

25-
- name: Install dependencies
26-
run: npm ci
25+
# - name: Install dependencies
26+
# run: npm ci
2727

2828
#################################
2929
# npm
3030
#################################
3131

3232
# Ensure npm 11.5.1 or later is installed
33-
# - name: Update npm
34-
# run: npm install -g npm@latest
33+
- name: Update npm
34+
run: npm install -g npm@latest
3535

36-
# - name: Publish
37-
# run: npm publish
36+
- name: Publish
37+
run: npm publish --access public
3838

3939
#################################
4040
# yarn
@@ -60,8 +60,8 @@ jobs:
6060
# composite action
6161
#################################
6262

63-
- name: Publish
64-
uses: smartcontractkit/.github/actions/ci-publish-npm@5cf24eba2fef708acd6050f0f9a0397b2dabbfb8
65-
with:
66-
publish-command: npm publish
67-
package-json-directory: ./typescript
63+
# - name: Publish
64+
# uses: smartcontractkit/.github/actions/ci-publish-npm@5cf24eba2fef708acd6050f0f9a0397b2dabbfb8
65+
# with:
66+
# publish-command: npm publish
67+
# package-json-directory: ./typescript

0 commit comments

Comments
 (0)