Skip to content

Commit cca8cc2

Browse files
authored
fix: publishing (#1246)
## 📜 Description Fixed publishing workflow. ## 💡 Motivation and Context Recently npmjs restricted usage of classic tokens. As a result all workflows that were dependent on it are failing now. In this PR I'm migrating to the official way of publishing packages from GH actions. ## 📢 Changelog <!-- High level overview of important changes --> <!-- For example: fixed status bar manipulation; added new types declarations; --> <!-- If your changes don't affect one of platform/language below - then remove this platform/language --> ### CI - don't use access tokens; - use Node 24.x ## 🤔 How Has This Been Tested? Tested via this PR. ## 📸 Screenshots (if appropriate): <img width="860" height="334" alt="image" src="https://github.com/user-attachments/assets/7108ce6f-9f6f-47e4-8bed-dd70667c1b85" /> <img width="781" height="493" alt="image" src="https://github.com/user-attachments/assets/df58c9ee-4433-4719-a776-008f02ec6169" /> ## 📝 Checklist - [x] CI successfully passed - [x] I added new mocks and corresponding unit-tests if library API was changed
1 parent 57f964d commit cca8cc2

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

.github/workflows/publish.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,8 @@ jobs:
1515
# Setup .npmrc file to publish to npm
1616
- uses: actions/setup-node@v4
1717
with:
18-
node-version: "20.x"
18+
node-version: "24.x"
1919
registry-url: "https://registry.npmjs.org"
2020
cache: yarn
2121
- run: yarn install --frozen-lockfile
2222
- run: npm publish --provenance
23-
env:
24-
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 commit comments

Comments
 (0)