Skip to content

Commit

Permalink
chore: hardcode git config for release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
JoshuaKGoldberg committed Jan 7, 2025
1 parent f3567bd commit c3f2e68
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,14 @@ jobs:
ref: main
- uses: ./.github/actions/prepare
- run: pnpm build
- run: npm config set //registry.npmjs.org/:_authToken $NPM_TOKEN
- run: |
git config --global user.email "[email protected]"
git config --global user.name "Josh Goldberg"
npm config set //registry.npmjs.org/:_authToken $NPM_TOKEN
env:

Check failure on line 18 in .github/workflows/release.yml

View workflow job for this annotation

GitHub Actions / Lint

Expected mapping keys to be in ascending order. 'env' should be before 'run'
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
- env:
GITHUB_TOKEN: ${{ secrets.ACCESS_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
run: npx release-it --preRelease=beta
- run: npx release-it --preRelease=beta

name: Release

Expand Down

0 comments on commit c3f2e68

Please sign in to comment.