This repository has been archived by the owner on Aug 19, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
2eac8bb
commit b1ed08d
Showing
1 changed file
with
3 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,20 +13,13 @@ jobs: | |
fetch-depth: 0 | ||
- name: Install & cache node dependencies | ||
uses: ./.github/actions/install-node-deps | ||
- run: echo //registry.npmjs.org/:_authToken=${NPM_TOKEN} > .npmrc | ||
env: | ||
NPM_TOKEN: ${{ secrets.NPM_TOKEN }} | ||
- run: git update-index --assume-unchanged .npmrc | ||
- name: Configure Git User | ||
run: | | ||
git config --global user.email "[email protected]" | ||
git config --global user.name "@$GITHUB_ACTOR" | ||
- name: "update version" | ||
run: | | ||
cd ./packages/event-store | ||
npm version ${{ github.event.release.tag_name }} --allow-same-version true --git-tag-version false --commit-hooks false | ||
git add . | ||
git commit -m '${{ github.event.release.tag_name }} release' | ||
run: yarn lerna version ${{ github.event.release.tag_name }} | ||
- uses: JS-DevTools/npm-publish@v1 | ||
with: | ||
token: ${{ secrets.NPM_TOKEN }} | ||
token: ${{ secrets.NPM_TOKEN }} | ||
package: ./packages/event-store/package.json |