Skip to content

Commit

Permalink
Merge pull request #119 from adobe/DTM-15545-gh-actions-2
Browse files Browse the repository at this point in the history
DTM-15545: Add saucelabs credentials for npm test during deploy
  • Loading branch information
brenthosie authored Jan 15, 2021
2 parents dcc2e5d + d7190ac commit 82a1c3a
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,12 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: 14
node-version: 14.x
- run: npm ci
- run: npm test
env:
SAUCE_USERNAME: ${{secrets.SAUCE_USERNAME}}
SAUCE_ACCESS_KEY: ${{secrets.SAUCE_ACCESS_KEY}}
- run: npm run build

publish-npm:
Expand All @@ -26,7 +29,7 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: 14
node-version: 14.x
registry-url: https://registry.npmjs.org/
- run: npm publish
env:
Expand Down

0 comments on commit 82a1c3a

Please sign in to comment.