Fix: Authenticate registry before doing npm release dryrun

This commit is contained in:
Zach Plata
2022-04-22 15:00:49 -07:00
committed by Zachary Plata
parent 2853851d52
commit 74b791ffa4

View File

@@ -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