Skip to content

Commit de4d15e

Browse files
committed
Only use CLI token for acceptance tests
1 parent 893ee2e commit de4d15e

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/shopify-cli.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,6 @@ env:
4949
PNPM_VERSION: '8.15.7'
5050
BUNDLE_WITHOUT: 'test:development'
5151
SHOPIFY_FLAG_CLIENT_ID: ${{ secrets.SHOPIFY_FLAG_CLIENT_ID }}
52-
SHOPIFY_CLI_PARTNERS_TOKEN: ${{ secrets.SHOPIFY_CLI_PARTNERS_TOKEN }}
5352
GH_TOKEN: ${{ secrets.SHOPIFY_GH_READ_CONTENT_TOKEN }}
5453

5554
jobs:
@@ -87,6 +86,8 @@ jobs:
8786
run: pnpm nx run-many --all --skip-nx-cache --target=test --exclude=features --output-style=stream
8887
- name: Acceptance tests
8988
if: ${{ matrix.node == '18.20.3' }}
89+
env:
90+
SHOPIFY_CLI_PARTNERS_TOKEN: ${{ secrets.SHOPIFY_CLI_PARTNERS_TOKEN }}
9091
run: pnpm nx run features:test
9192
- name: Send Slack notification on failure
9293
uses: slackapi/slack-github-action@007b2c3c751a190b6f0f040e47ed024deaa72844 # [email protected]
@@ -305,6 +306,8 @@ jobs:
305306
with:
306307
node-version: ${{ matrix.node }}
307308
- name: Acceptance tests
309+
env:
310+
SHOPIFY_CLI_PARTNERS_TOKEN: ${{ secrets.SHOPIFY_CLI_PARTNERS_TOKEN }}
308311
run: pnpm test:features --output-style=stream
309312

310313
pr-test-coverage:
@@ -355,6 +358,8 @@ jobs:
355358
- name: Unit tests
356359
run: pnpm test:unit --output-style=stream
357360
- name: Acceptance tests
361+
env:
362+
SHOPIFY_CLI_PARTNERS_TOKEN: ${{ secrets.SHOPIFY_CLI_PARTNERS_TOKEN }}
358363
run: pnpm test:features --output-style=stream
359364
- name: Setup tmate session
360365
if: ${{ failure() && inputs.debug-enabled }}

0 commit comments

Comments
 (0)