Skip to content

Commit

Permalink
chore: improve caching and token handling
Browse files Browse the repository at this point in the history
  • Loading branch information
domoritz committed Sep 21, 2022
1 parent 0932406 commit f69da08
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/publish-auto.yml
Expand Up @@ -15,20 +15,19 @@ 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

- name: Create release
run: npm run release
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit f69da08

Please sign in to comment.