Skip to content

Commit

Permalink
ci: fixes scripts path in workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
martines3000 committed Jul 31, 2023
1 parent bfcf025 commit 7e429da
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ jobs:
run: pnpm install --frozen-lockfile

- name: Publish To NPM
run: bash scripts/publish-stable.sh
run: bash scripts/changesets/publish-stable.sh
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}
4 changes: 2 additions & 2 deletions .github/workflows/release-beta.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,8 @@ jobs:
uses: changesets/action@v1
id: changesets
with:
version: bash scripts/version-beta.sh
publish: bash scripts/publish-beta.sh
version: bash scripts/changesets/version-beta.sh
publish: bash scripts/changesets/publish-beta.sh
title: 'chore: version packages (beta)'
commit: 'chore: version packages (beta)'
env:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ jobs:
run: pnpm install --frozen-lockfile

- name: Version packages
run: bash scripts/version-stable.sh ${{ github.event.inputs.selected-package }}
run: bash scripts/changesets/version-stable.sh ${{ github.event.inputs.selected-package }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
Expand Down
2 changes: 1 addition & 1 deletion scripts/changesets/version-stable.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ echo "Updating beta version..."
echo $1

pnpm changeset pre exit && \
node scripts/version-stable.mjs $1 && \
node scripts/changesets/version-stable.mjs $1 && \
node scripts/changesets/update-snap-version.mjs && \
pnpm install --lockfile-only && \
pnpm build && \
Expand Down

0 comments on commit 7e429da

Please sign in to comment.