Skip to content

Commit 2693ce4

Browse files
committed
use npm
1 parent 94581ee commit 2693ce4

File tree

2 files changed

+4
-7
lines changed

2 files changed

+4
-7
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,6 @@ on:
1111
jobs:
1212
main:
1313
runs-on: ubuntu-latest
14-
permissions:
15-
contents: read
16-
packages: write
1714
steps:
1815
- uses: actions/checkout@v3
1916
with:
@@ -30,7 +27,7 @@ jobs:
3027
with:
3128
node-version: '18.x'
3229
cache: 'pnpm'
33-
registry-url: 'https://npm.pkg.github.com'
30+
registry-url: 'https://registry.npmjs.org'
3431
scope: '@loopexchange-labs'
3532

3633
- name: Setup Go environment
@@ -65,4 +62,4 @@ jobs:
6562
- run: pnpm exec nx publish loopring-sdk --ver ${{ github.event.release.tag_name }}
6663
if: github.event_name == 'release'
6764
env:
68-
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
65+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

.npmrc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
strict-peer-dependencies=false
22
auto-install-peers=true
33

4-
//npm.pkg.github.com/:_authToken=${NODE_AUTH_TOKEN}
5-
@loopexchange-labs:registry=https://npm.pkg.github.com
4+
//registry.npmjs.org/:_authToken=${NODE_AUTH_TOKEN}
5+
registry=https://registry.npmjs.org/
66
always-auth=true

0 commit comments

Comments
 (0)