mirror of
https://github.com/rive-app/rive-react.git
synced 2025-12-19 01:30:08 +08:00
Fix: Authenticate registry before doing npm release dryrun
This commit is contained in:
committed by
Zachary Plata
parent
2853851d52
commit
74b791ffa4
6
.github/workflows/publish.yml
vendored
6
.github/workflows/publish.yml
vendored
@@ -17,6 +17,12 @@ jobs:
|
||||
- name: Install dependencies
|
||||
run: npm install
|
||||
working-directory: ./
|
||||
- name: Git config
|
||||
run: |
|
||||
git config --local user.email 'hello@rive.app'
|
||||
git config --local user.name ${{ github.actor }}
|
||||
- name: Authenticate with registry
|
||||
run: npm config set //registry.npmjs.org/:_authToken ${{ secrets.NPM_TOKEN }}
|
||||
- id: determine_version
|
||||
name: Get Version
|
||||
run: npm run release -- major --ci --release-version | tail -n 1 > RELEASE_VERSION
|
||||
|
||||
Reference in New Issue
Block a user