Skip to content

Commit

Permalink
fix: CI was still using yarn instead if pnpm in several places
Browse files Browse the repository at this point in the history
  • Loading branch information
nklomp committed Jul 14, 2023
1 parent fc03507 commit c167259
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 8 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/build-test-on-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,7 @@ jobs:
with:
node-version: '18.x'
cache: 'pnpm'
- run: pnpm add -g pnpm

- run: yarn install --frozen-lockfile
- run: pnpm install
- run: pnpm install --frozen-lockfile
- run: pnpm build
- name: run CI tests
env:
Expand Down
7 changes: 3 additions & 4 deletions .github/workflows/build-test-publish-on-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@ jobs:
with:
node-version: '18.x'
cache: 'pnpm'
- run: pnpm add -g pnpm
- run: pnpm install
- run: pnpm build
- name: run CI tests
Expand Down Expand Up @@ -73,12 +72,12 @@ jobs:

- name: publish @latest when on main
if: github.ref == 'refs/heads/main'
run: yarn publish:latest
run: pnpm publish:latest

- name: publish @next when on develop
if: github.ref == 'refs/heads/develop'
run: yarn publish:next
run: pnpm publish:next

- name: publish @unstable when on unstable branch
if: startsWith(github.ref, 'refs/heads/feat')
run: yarn publish:unstable
run: pnpm publish:unstable

0 comments on commit c167259

Please sign in to comment.