Skip to content

Commit

Permalink
fix conditionals
Browse files Browse the repository at this point in the history
  • Loading branch information
yunakim714 committed Jan 10, 2023
1 parent feedcf2 commit 35936c3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ jobs:
run: exit 1
#TODO: remove --dry-run from install command
- name: Publish to NPM
if: github.repository == 'SalesforceCommerceCloud/pwa-kit'
if: github.repository == 'SalesforceCommerceCloud/pwa-kit' && matrix.npm == 6 && matrix.os == 'ubuntu-latest'
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
run: |-
Expand Down Expand Up @@ -193,7 +193,7 @@ jobs:
with:
path: packages/pwa-kit-create-app/local-npm-repo/verdaccio.log
- name: Send metrics to Datadog
if: github.repository == 'SalesforceCommerceCloud/pwa-kit' && (matrix.template == 'test-project' || matrix.template == 'retail-react-app-demo')
if: github.repository == 'SalesforceCommerceCloud/pwa-kit' && (matrix.template == 'test-project' || matrix.template == 'retail-react-app-demo') && matrix.os == 'ubuntu-latest'
run : |
# Add a dogrc so we can submit metrics to datadog
printf "[Connection]\napikey = $DATADOG_API_KEY\nappkey =\n" > ~/.dogrc
Expand Down

0 comments on commit 35936c3

Please sign in to comment.