Skip to content

Commit

Permalink
Update CI and deps
Browse files Browse the repository at this point in the history
  • Loading branch information
sethvargo committed Dec 10, 2022
1 parent c37b1c1 commit b88136c
Show file tree
Hide file tree
Showing 4 changed files with 217 additions and 211 deletions.
16 changes: 9 additions & 7 deletions .github/workflows/integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ jobs:

steps:
- uses: 'actions/checkout@v3'

- uses: 'actions/setup-node@v3'
with:
node-version: '16.x'

Expand Down Expand Up @@ -82,28 +84,28 @@ jobs:
uses: 'google-github-actions/auth@main'
with:
workload_identity_provider: '${{ secrets.WIF_PROVIDER_NAME }}'
service_account: '${{ secrets.WIF_SERVICE_ACCOUNT_EMAIL }}'
service_account: '${{ secrets.SERVICE_ACCOUNT_EMAIL }}'

- name: 'Setup gcloud with WIF'
uses: './'

- name: 'Check WIF authentication'
run: 'npm run integration'
env:
TEST_ACCOUNT: '${{ secrets.WIF_SERVICE_ACCOUNT_EMAIL }}'
TEST_PROJECT_ID: '${{ secrets.WIF_PROJECT_ID }}'
TEST_ACCOUNT: '${{ secrets.SERVICE_ACCOUNT_EMAIL }}'
TEST_PROJECT_ID: '${{ secrets.PROJECT_ID }}'

# Authenticate via SAKE
- name: 'Authenticate via SAKE'
uses: 'google-github-actions/auth@main'
with:
credentials_json: '${{ secrets.SAKE_SERVICE_ACCOUNT_KEY_JSON }}'
credentials_json: '${{ secrets.SERVICE_ACCOUNT_KEY_JSON }}'

- name: 'Setup gcloud with SAKE'
uses: './'

- name: 'Check WIF authentication'
- name: 'Check SAKE authentication'
run: 'npm run integration'
env:
TEST_ACCOUNT: '${{ secrets.SAKE_SERVICE_ACCOUNT_EMAIL }}'
TEST_PROJECT_ID: '${{ secrets.SAKE_PROJECT_ID }}'
TEST_ACCOUNT: '${{ secrets.ERVICE_ACCOUNT_EMAIL }}'
TEST_PROJECT_ID: '${{ secrets.PROJECT_ID }}'
2 changes: 1 addition & 1 deletion dist/main/index.js

Large diffs are not rendered by default.

Loading

0 comments on commit b88136c

Please sign in to comment.