Skip to content

Commit

Permalink
feat(stack): tune action
Browse files Browse the repository at this point in the history
  • Loading branch information
fulcanellee committed May 17, 2024
1 parent 27bd2b3 commit 1d7b963
Showing 1 changed file with 24 additions and 23 deletions.
47 changes: 24 additions & 23 deletions .github/workflows/stack-context-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,27 +31,28 @@ 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]
- 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 }}
yarn --new-version version 1.15.0
git push

- name: Publish
if: success()
run: |
cd ./packages/stack-context
npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 comments on commit 1d7b963

Please sign in to comment.