Skip to content

Commit

Permalink
Fixing up the NPM auth for cron builds (pulumi#713)
Browse files Browse the repository at this point in the history
  • Loading branch information
stack72 committed Jun 17, 2020
1 parent e2e40e5 commit d007393
Showing 1 changed file with 14 additions and 7 deletions.
21 changes: 14 additions & 7 deletions .github/workflows/cron.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ env:
GOOGLE_ZONE: "us-central1-a"
PACKET_AUTH_TOKEN: ${{ secrets.PACKET_AUTH_TOKEN }}
LINODE_API_TOKEN: ${{ secrets.LINODE_API_TOKEN }}
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
jobs:
released:
strategy:
Expand Down Expand Up @@ -97,6 +99,11 @@ jobs:
role-duration-seconds: 3600
role-session-name: examples@githubActions
role-to-assume: ${{ secrets.AWS_CI_ROLE_ARN }}
- name: Setup Node
uses: actions/setup-node@v1
with:
always-auth: true
registry-url: https://registry.npmjs.org
- uses: actions/checkout@v2
- name: Checkout Scripts Repo
uses: actions/checkout@v2
Expand All @@ -116,10 +123,10 @@ jobs:
run: make ensure
- name: Run ${{ matrix.clouds }}${{ matrix.languages }} Tests
run: make specific_test_set TestSet=${{ matrix.clouds }}${{ matrix.languages }}
- if: 'failure()'
name: Notify Slack
uses: 8398a7/action-slack@v3
with:
author_name: Failure in ${{ matrix.clouds }}${{ matrix.languages }} Tests
fields: repo,commit,author,action
status: ${{ job.status }}
# - if: 'failure()'
# name: Notify Slack
# uses: 8398a7/action-slack@v3
# with:
# author_name: Failure in ${{ matrix.clouds }}${{ matrix.languages }} Tests
# fields: repo,commit,author,action
# status: ${{ job.status }}

0 comments on commit d007393

Please sign in to comment.