Skip to content

Commit

Permalink
chore: improve caching and token handling (#1362)
Browse files Browse the repository at this point in the history
* chore: improve caching and token handling

* set NPM_TOKEN

* chore: try NODE_AUTH_TOKEN

* chore: use NODE_AUTH_TOKEN
  • Loading branch information
domoritz committed Sep 21, 2022
1 parent 0932406 commit be4d72a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/publish-auto.yml
Expand Up @@ -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
Expand Down

0 comments on commit be4d72a

Please sign in to comment.