From 09dac908d7d2686fc20763c57bc94c388f720b27 Mon Sep 17 00:00:00 2001 From: Dominik Moritz Date: Tue, 16 Nov 2021 20:05:01 -0500 Subject: [PATCH 1/3] ci: use GITHUB_TOKEN instead of PAT --- .github/workflows/publish-auto.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/publish-auto.yml b/.github/workflows/publish-auto.yml index 20154c92a..5d211344c 100644 --- a/.github/workflows/publish-auto.yml +++ b/.github/workflows/publish-auto.yml @@ -26,7 +26,8 @@ jobs: run: yarn --frozen-lockfile - name: Create release + run: npm run release env: - GITHUB_TOKEN: ${{ secrets.GH_PAT }} NPM_TOKEN: ${{ secrets.NPM_TOKEN }} - run: yarn run release + NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} From f5848fa95efb624c89ec06ab2a207296e1bc211f Mon Sep 17 00:00:00 2001 From: Dominik Moritz Date: Fri, 19 Nov 2021 16:43:10 -0500 Subject: [PATCH 2/3] Try yarn release --- .github/workflows/publish-auto.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/publish-auto.yml b/.github/workflows/publish-auto.yml index 5d211344c..ae4e4f6ef 100644 --- a/.github/workflows/publish-auto.yml +++ b/.github/workflows/publish-auto.yml @@ -26,7 +26,7 @@ jobs: run: yarn --frozen-lockfile - name: Create release - run: npm run release + run: yarn release env: NPM_TOKEN: ${{ secrets.NPM_TOKEN }} NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} From a61207409c41c7de3efc41f3d3deb55675223543 Mon Sep 17 00:00:00 2001 From: Dominik Moritz Date: Sun, 21 Nov 2021 09:35:54 -0500 Subject: [PATCH 3/3] remove cache --- .github/workflows/publish-auto.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/publish-auto.yml b/.github/workflows/publish-auto.yml index ae4e4f6ef..9d9641760 100644 --- a/.github/workflows/publish-auto.yml +++ b/.github/workflows/publish-auto.yml @@ -17,7 +17,8 @@ jobs: - uses: actions/setup-node@v2.4.1 with: - cache: "yarn" + registry-url: "https://registry.npmjs.org" + node-version: "16" - name: Prepare repository run: git fetch --unshallow --tags @@ -26,7 +27,7 @@ jobs: run: yarn --frozen-lockfile - name: Create release - run: yarn release + run: npm run release env: NPM_TOKEN: ${{ secrets.NPM_TOKEN }} NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}