Skip to content

Commit bb404f7

Browse files
authored
Merge pull request #17 from scality/feature/migration-npm-classic
Add permissions for OIDC authentication
2 parents 860bc81 + 499a295 commit bb404f7

3 files changed

Lines changed: 23 additions & 20 deletions

File tree

.github/workflows/release.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,16 +6,17 @@ on:
66
jobs:
77
publish-npm:
88
runs-on: ubuntu-latest
9+
permissions:
10+
id-token: write # Required for OIDC authentication
11+
contents: read
912
environment: npmjs
1013
steps:
1114
- uses: actions/checkout@v4
1215
# Setup .npmrc file to publish to npmjs.org
1316
- uses: actions/setup-node@v4
1417
with:
15-
node-version: "20"
18+
node-version: "25"
1619
registry-url: "https://registry.npmjs.org"
1720
- run: npm install
1821
- run: npm run build
1922
- run: npm publish
20-
env:
21-
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

package-lock.json

Lines changed: 18 additions & 16 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@scality/module-federation",
3-
"version": "1.4.1",
3+
"version": "1.4.2",
44
"description": "",
55
"main": "build/ModuleFederation.js",
66
"scripts": {

0 commit comments

Comments
 (0)