Skip to content

Commit

Permalink
update to new service account (microsoft#4588)
Browse files Browse the repository at this point in the history
* update to new service account

* remove invalid token in publish commnd

* update to refactor arguments to be together

* update line formatting

* update to move token to npm task

* remove unused pat
  • Loading branch information
awentzel authored Apr 14, 2021
1 parent 981a719 commit 4db0e48
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/cd-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,9 @@ on:
workflow_dispatch

env:
NPM_PAT: ${{ secrets.NPM_PAT}}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_SERVICE_PAT: ${{ secrets.GH_PAT }}
GITHUB_SERVICE_USER: "Microsoft FAST Builds"
GITHUB_SERVICE_EMAIL: "fastdna@service.microsoft.com"
GITHUB_SERVICE_EMAIL: "fastsvc@microsoft.com"

jobs:
build_linux:
Expand Down Expand Up @@ -40,7 +38,9 @@ jobs:
- name: Testing unit tests
run: lerna run test --stream

- name: Publish NPM changed packages
run: |
yarn publish-ci -y -r https://registry.npmjs.org/ --access public $NPM_PAT
- name: Publish NPM packages
run: yarn publish-ci
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN}}


2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
"checkchange": "beachball check --scope \"!sites/*\" --changehint \"Run 'yarn change' to generate a change file\"",
"check": "beachball check ",
"publish": "beachball publish",
"publish-ci": "beachball publish -b origin/master",
"publish-ci": "beachball publish -y -b origin/master -r https://registry.npmjs.org --access public",
"integration-tests:alpha": "node build/testing/sauce-labs/test-browsers.js alpha",
"integration-tests:beta": "node build/testing/sauce-labs/test-browsers.js beta",
"integration-tests:release": "node build/testing/sauce-labs/test-browsers.js release",
Expand Down

0 comments on commit 4db0e48

Please sign in to comment.