Skip to content

Commit d8105f3

Browse files
authored
Merge pull request #43 from WTW-IM/export-es-module
Build: using both GH_TOKEN and GITHUB_TOKEN to cover bases in semantic-release
2 parents a47e468 + 4f2dd1e commit d8105f3

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

.github/workflows/ci.yml

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,14 @@ jobs:
3434
needs: [test]
3535
name: Publish NPM Package
3636
runs-on: ubuntu-latest
37+
env:
38+
GIT_AUTHOR_NAME: 'im-pipeline-bot'
39+
GIT_AUTHOR_EMAIL: '[email protected]'
40+
GIT_COMMITTER_NAME: 'im-pipeline-bot'
41+
GIT_COMMITTER_EMAIL: '[email protected]'
42+
GITHUB_TOKEN: ${{ secrets.PIPELINE_BOT_PAT }}
43+
GH_TOKEN: ${{ secrets.PIPELINE_BOT_PAT }}
44+
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
3745
steps:
3846
- name: Checkout
3947
uses: actions/checkout@v3
@@ -51,11 +59,4 @@ jobs:
5159
run: npm ci
5260

5361
- name: Semantic Release
54-
env:
55-
GIT_AUTHOR_NAME: 'im-pipeline-bot'
56-
GIT_AUTHOR_EMAIL: '[email protected]'
57-
GIT_COMMITTER_NAME: 'im-pipeline-bot'
58-
GIT_COMMITTER_EMAIL: '[email protected]'
59-
GITHUB_TOKEN: ${{ secrets.PIPELINE_BOT_PAT }}
60-
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
6162
run: npx semantic-release

0 commit comments

Comments
 (0)