Put back the release steps in the publish workflow and add major flag temporarily

This commit is contained in:
Zach Plata
2022-03-23 09:45:39 -07:00
committed by Zachary Plata
parent 1e1cabd057
commit 8ce856270f
2 changed files with 11 additions and 1 deletions

View File

@@ -23,3 +23,13 @@ jobs:
run: npm test
- name: Build
run: npm run build
- 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 }}
- name: Release
env:
GITHUB_TOKEN: ${{ secrets.REPO_TOKEN }}
run: npm run release