Skip to content

Commit

Permalink
chore(frame-events): updating workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
SirPhemmiey committed Jul 9, 2024
1 parent 590ca3d commit 7a7bee6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
3 changes: 2 additions & 1 deletion .github/actions/setup/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ runs:
using: "composite"
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Setup Node.js
uses: actions/setup-node@v4
Expand All @@ -17,7 +19,6 @@ runs:
registry-url: "https://npm.pkg.github.com"
scope: "@wetransfer"
token: ${{ inputs.GITHUB_TOKEN }}
fetch-depth: 0

- name: Install dependencies
run: yarn install
Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,7 @@ jobs:
shell: bash

- name: Publish package
run: yarn publish --tag "${{ env.NEW_VERSION }}" --registry https://npm.pkg.github.com --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_PUBLISH_ACCESS_TOKEN }}
run: NODE_AUTH_TOKEN="$NPM_PUBLISH_ACCESS_TOKEN" --tag "${{ env.NEW_VERSION }}" --access private
# run: yarn publish --tag "${{ env.NEW_VERSION }}" --registry https://npm.pkg.github.com --access public
# env:
# NODE_AUTH_TOKEN: ${{ secrets.NPM_PUBLISH_ACCESS_TOKEN }}

0 comments on commit 7a7bee6

Please sign in to comment.