From 96e89273def6290a83d1ea6b0de506c24eff79cd Mon Sep 17 00:00:00 2001 From: hyochan Date: Sat, 24 Feb 2024 04:52:12 +0900 Subject: [PATCH] ci: fix publishing pkg https://github.com/actions/setup-node/issues/81\#issuecomment-623018474 --- .github/workflows/publish.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 6f6ed6d6..dbc7ef38 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -1,6 +1,7 @@ name: publish-package on: + workflow_dispatch: release: types: [created] jobs: @@ -10,8 +11,12 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 with: + registry-url: 'https://registry.npmjs.org' + always-auth: true node-version: 20.x + - run: echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" > ~/.npmrc + - name: Setup expo cli uses: expo/expo-github-action@v8 with: