-
Notifications
You must be signed in to change notification settings - Fork 49
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
e9b9a2b
commit 27bd2b3
Showing
1 changed file
with
27 additions
and
25 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 |
---|---|---|
|
@@ -6,6 +6,9 @@ on: | |
version: | ||
description: 'Введите версию x.x.x' | ||
required: true | ||
push: | ||
branches: | ||
- feat/stack_global_context | ||
|
||
jobs: | ||
build: | ||
|
@@ -28,28 +31,27 @@ jobs: | |
node-version: '20.x' | ||
registry-url: 'https://registry.npmjs.org' | ||
|
||
- name: Install dependencies | ||
run: yarn --pure-lockfile | ||
|
||
- name: Build app | ||
run: | | ||
cd ./packages/stack-context | ||
yarn build | ||
- name: Set version | ||
if: success() | ||
run: | | ||
cd ./packages/stack-context | ||
git config user.name core-ds-bot | ||
git config user.email [email protected] | ||
yarn --new-version version ${{ github.event.inputs.version }} | ||
git push | ||
# git push origin v${{ github.event.inputs.version }} | ||
|
||
- name: Publish | ||
if: success() | ||
run: | | ||
cd ./packages/stack-context | ||
npm publish | ||
env: | ||
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} | ||
# - name: Install dependencies | ||
# run: yarn --pure-lockfile | ||
|
||
# - name: Build app | ||
# run: | | ||
# cd ./packages/stack-context | ||
# yarn build | ||
|
||
# - name: Set version | ||
# if: success() | ||
# run: | | ||
# cd ./packages/stack-context | ||
# git config user.name core-ds-bot | ||
# git config user.email [email protected] | ||
# yarn --new-version version ${{ github.event.inputs.version }} | ||
# git push | ||
|
||
# - name: Publish | ||
# if: success() | ||
# run: | | ||
# cd ./packages/stack-context | ||
# npm publish | ||
# env: | ||
# NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} |