From be4d72a1a3172c3a00c6cb484ed6fc51bce242bc Mon Sep 17 00:00:00 2001 From: Dominik Moritz Date: Tue, 20 Sep 2022 23:00:58 -0400 Subject: [PATCH] chore: improve caching and token handling (#1362) * chore: improve caching and token handling * set NPM_TOKEN * chore: try NODE_AUTH_TOKEN * chore: use NODE_AUTH_TOKEN --- .github/workflows/publish-auto.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/publish-auto.yml b/.github/workflows/publish-auto.yml index 68c53afc9..16ad0ec4c 100644 --- a/.github/workflows/publish-auto.yml +++ b/.github/workflows/publish-auto.yml @@ -15,13 +15,14 @@ jobs: steps: - uses: actions/checkout@v3 with: - # Fetch all history for all tags and branches fetch-depth: 0 - uses: actions/setup-node@v3 with: registry-url: "https://registry.npmjs.org" cache: "yarn" + env: + NPM_TOKEN: ${{ secrets.NPM_TOKEN }} - name: Install Node dependencies run: yarn --frozen-lockfile