Skip to content

Commit

Permalink
ci: cd to directory iinstead
Browse files Browse the repository at this point in the history
  • Loading branch information
joonaathaan committed Oct 18, 2024
1 parent 5c18988 commit 536f352
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,17 +46,18 @@ jobs:
- name: Publish package
id: release
run: |
if [[ ${{ github.ref_name }} == stable ]]; then
pnpm --filter ${{ matrix.package }} dlx cliff-jumper \
cd ${{ matrix.folder }}
if [[ "${{ github.ref_name }}" == "stable" ]]; then
pnpm dlx cliff-jumper \
--name "${{ matrix.package }}" \
--package-path "${{ matrix.folder }}"
else
pnpm --filter ${{ matrix.package }} dlx cliff-jumper \
pnpm dlx cliff-jumper \
--name "${{ matrix.package }}" \
--package-path "${{ matrix.folder }}"
--preid dev
fi
pnpm --filter ${{ matrix.package }} publish --provenance --no-git-checks
pnpm publish --provenance --no-git-checks
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_PUBLISH_TOKEN }}

Expand Down

0 comments on commit 536f352

Please sign in to comment.