Skip to content

Commit

Permalink
Update preview action source and env vars (#426)
Browse files Browse the repository at this point in the history
  • Loading branch information
minkimcello committed Apr 29, 2022
1 parent 2441c6a commit 0d97fe7
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/publish-preview.yml
Expand Up @@ -11,14 +11,14 @@ jobs:
name: Publish Preview Package
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: actions/setup-node@v2
with:
registry-url: https://registry.npmjs.org
- name: NPM Publish Preview
uses: thefrontside/actions/publish-pr-preview@main
uses: thefrontside/actions/publish-pr-preview@v2
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}
GITHUB_TOKEN: ${{ secrets.FRONTSIDEJACK_GITHUB_TOKEN }}
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
4 changes: 2 additions & 2 deletions .github/workflows/publish-release.yml
Expand Up @@ -15,5 +15,5 @@ jobs:
- name: Tag and Publish
uses: thefrontside/actions/synchronize-with-npm@v1.9
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}
GITHUB_TOKEN: ${{ secrets.FRONTSIDEJACK_GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
2 changes: 1 addition & 1 deletion .github/workflows/synchronize-npm-tags.yml
Expand Up @@ -11,4 +11,4 @@ jobs:
- uses: actions/checkout@v1
- uses: thefrontside/actions/synchronize-npm-tags@v1.1
env:
NPM_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}
NPM_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 comments on commit 0d97fe7

Please sign in to comment.