Skip to content

Commit

Permalink
Add git config in release jobs
Browse files Browse the repository at this point in the history
  • Loading branch information
nvuillam committed Oct 25, 2023
1 parent 34a7306 commit 022a731
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/deploy-BETA.yml
Expand Up @@ -40,6 +40,9 @@ jobs:
registry-url: "https://registry.npmjs.org"
scope: nvuillam
- run: npm ci
- run: |
git config --global user.name nvuillam
git config --global user.email nicolas.vuillamy@gmail.com
- run: BETAID=$(date '+%Y%m%d%H%M') && npm version prerelease --preid="beta$BETAID"
shell: bash
- run: npm publish --tag beta
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/deploy-RELEASE.yml
Expand Up @@ -38,6 +38,9 @@ jobs:
registry-url: "https://registry.npmjs.org"
scope: nvuillam
- run: npm ci
- run: |
git config --global user.name nvuillam
git config --global user.email nicolas.vuillamy@gmail.com
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
Expand Down

0 comments on commit 022a731

Please sign in to comment.