From beb94d42952db175c7b17804e0507a0afc21c28f Mon Sep 17 00:00:00 2001 From: Germey Date: Mon, 5 Aug 2024 01:05:34 +0800 Subject: [PATCH] Add debug npm (#97) Co-authored-by: AceDataCloud --- .github/workflows/publish.yaml | 10 ++++++++++ ...ud-nexior-44c55a94-d357-4d91-8775-bec6a0e24fe4.json | 7 +++++++ 2 files changed, 17 insertions(+) create mode 100644 change/@acedatacloud-nexior-44c55a94-d357-4d91-8775-bec6a0e24fe4.json diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml index b23d4a91..6382b41b 100644 --- a/.github/workflows/publish.yaml +++ b/.github/workflows/publish.yaml @@ -27,6 +27,16 @@ jobs: - name: Build run: yarn build + - name: Setup .npmrc + run: echo "//registry.npmjs.org/:_authToken=\${NPM_TOKEN}" > ~/.npmrc + env: + NPM_TOKEN: ${{ secrets.NPM_TOKEN }} + + - name: Debug NPM_TOKEN + run: echo "NPM_TOKEN length: ${#NPM_TOKEN}" + env: + NPM_TOKEN: ${{ secrets.NPM_TOKEN }} + - name: Set git credentials run: | git config --global user.name 'GitHub Actions' diff --git a/change/@acedatacloud-nexior-44c55a94-d357-4d91-8775-bec6a0e24fe4.json b/change/@acedatacloud-nexior-44c55a94-d357-4d91-8775-bec6a0e24fe4.json new file mode 100644 index 00000000..5c85647c --- /dev/null +++ b/change/@acedatacloud-nexior-44c55a94-d357-4d91-8775-bec6a0e24fe4.json @@ -0,0 +1,7 @@ +{ + "type": "patch", + "comment": "try to fix publish error", + "packageName": "@acedatacloud/nexior", + "email": "office@acedata.cloud", + "dependentChangeType": "patch" +}