Skip to content

Commit 36b009c

Browse files
committed
🚚 Change npm registry to https://registry.npmjs.org
1 parent 4f5199d commit 36b009c

1 file changed

Lines changed: 7 additions & 9 deletions

File tree

.github/workflows/deployment.yml

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: dynamodb-data-migration.js Package
1+
name: Publish dynamo-data-transformations npm package
22
on:
33
release:
44
types: [created]
@@ -10,15 +10,13 @@ jobs:
1010
contents: read
1111
packages: write
1212
steps:
13-
- uses: actions/checkout@v2
14-
# Setup .npmrc file to publish to GitHub Packages
15-
- uses: actions/setup-node@v2
13+
- uses: actions/checkout@v3
14+
# Setup .npmrc file to publish the package to npmjs.com
15+
- uses: actions/setup-node@v3
1616
with:
17-
node-version: '12.x'
18-
registry-url: 'https://npm.pkg.github.com'
19-
# Defaults to the user or organization that owns the workflow file
20-
scope: '@jitsecurity'
17+
node-version: '16.x'
18+
registry-url: 'https://registry.npmjs.org'
2119
- run: npm install
2220
- run: npm publish
2321
env:
24-
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
22+
NODE_AUTH_TOKEN: ${{ secrets.NPMJS_CI_TOKEN }}

0 commit comments

Comments
 (0)