Skip to content

Commit 6503300

Browse files
committed
ci: update cli lockfile when triggered
1 parent 9c6ea03 commit 6503300

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

.github/workflows/update.yml

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,11 @@ jobs:
1313
include:
1414
- repository: harmonix-js/starter
1515
dependencies:
16-
install: '@harmonix-js/core@latest'
17-
dev: '@harmonix-js/cli@latest'
16+
install: '@harmonix-js/core'
17+
dev: '@harmonix-js/cli'
1818
- repository: harmonix-js/cli
1919
dependencies:
20-
install: '@harmonix-js/core@latest'
20+
install: '@harmonix-js/core'
2121
dev: ''
2222

2323
runs-on: ubuntu-latest
@@ -27,15 +27,17 @@ jobs:
2727
repository: ${{matrix.repository}}
2828
ref: main
2929
token: ${{secrets.ACTION_GITHUB_TOKEN}}
30+
- run: corepack enable
3031
- uses: actions/setup-node@v4.0.2
3132
with:
3233
node-version: 20.x
33-
- run: npm install
34+
cache: pnpm
35+
- run: pnpm install --no-frozen-lockfile
3436
- name: Update dependencies
3537
run: |
36-
npm install ${{matrix.dependencies.install}}
38+
pnpm add ${{matrix.dependencies.install}}@latest
3739
if [ -n "${{matrix.dependencies.dev}}" ]; then
38-
npm install -D ${{matrix.dependencies.dev}}
40+
pnpm add -D ${{matrix.dependencies.dev}}@latest
3941
fi
4042
- name: Commit changes
4143
run: |

0 commit comments

Comments
 (0)