Skip to content

Commit

Permalink
docs(examples): update examples to use npx in actions and pipelines
Browse files Browse the repository at this point in the history
  • Loading branch information
jucian0 committed Dec 6, 2024
1 parent 07eab9a commit bf19cb7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 deletions.
4 changes: 2 additions & 2 deletions examples/bitbucket.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@ pipelines:
- curl -fL https://get.pnpm.io/v7.19.js | node - add --global pnpm
- pnpm i
- pnpm build
- pnpm turbo-version
- pnpm turbo-release
- pnpm @turbo-version/version
- pnpm @turbo-version/release
- git push --tags && git push
7 changes: 2 additions & 5 deletions examples/github.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,23 +35,20 @@ jobs:
shell: bash
run: pnpm build

- name: Install turbo-version
run: pnpm i

## We are going to replace it by a specif command to configure git environments
- name: Temporally git user
shell: bash
run: git config --global user.name 'github-actions[bot]' && git config --global user.email 'github-actions[bot]@users.noreply.github.com'

- name: Turbo Version
shell: bash
run: pnpm turbo-version
run: npx @turbo-version/version

- name: Turbo Release
shell: bash
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
run: pnpm turbo-release
run: npx @turbo-version/release

- name: Push tags, and commits
shell: bash
Expand Down

0 comments on commit bf19cb7

Please sign in to comment.