Skip to content

Commit

Permalink
ci(canary): switch env position
Browse files Browse the repository at this point in the history
  • Loading branch information
Tlahey committed Aug 17, 2022
1 parent d2749de commit 98b381d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/build-canary.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,6 @@ jobs:
if: github.event.action == 'labeled' && contains(github.event.label.name, 'Publish canary')
name: Build canary
runs-on: ubuntu-latest
env:
PR_NUMBER: ${{ github.event.pull_request.number }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
steps:
- uses: actions/checkout@v2
with:
Expand Down Expand Up @@ -49,6 +45,10 @@ jobs:
run: |
npm whoami
lerna publish --canary --preid $PR_NUMBER --no-verify-access --no-private --no-commit-hooks --yes
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
PR_NUMBER: ${{ github.event.pull_request.number }}

- name: Manage pull request labels
uses: actions/github-script@v4
Expand Down

0 comments on commit 98b381d

Please sign in to comment.