diff options
author | Vijay A <vraravam@users.noreply.github.com> | 2022-04-24 19:54:49 -0500 |
---|---|---|
committer | Vijay A <vraravam@users.noreply.github.com> | 2022-04-24 19:54:49 -0500 |
commit | 55616f6dfc056be1563022954ad4d94226bec0da (patch) | |
tree | 9013239170b2168fdcddd639baf4c6a8c526cb3f /.github/workflows/dependency-updates.yml | |
parent | Remove dependency on 'jq' since 'node' can be used for the same (diff) | |
download | ferdium-app-55616f6dfc056be1563022954ad4d94226bec0da.tar.gz ferdium-app-55616f6dfc056be1563022954ad4d94226bec0da.tar.zst ferdium-app-55616f6dfc056be1563022954ad4d94226bec0da.zip |
Remove hardcoding of 'npm' and 'pnpm' version in CI scripts
Diffstat (limited to '.github/workflows/dependency-updates.yml')
-rw-r--r-- | .github/workflows/dependency-updates.yml | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/.github/workflows/dependency-updates.yml b/.github/workflows/dependency-updates.yml index 1977ab2a7..88a9541bd 100644 --- a/.github/workflows/dependency-updates.yml +++ b/.github/workflows/dependency-updates.yml | |||
@@ -36,11 +36,9 @@ jobs: | |||
36 | with: | 36 | with: |
37 | node-version-file: '.nvmrc' | 37 | node-version-file: '.nvmrc' |
38 | - name: Install npm | 38 | - name: Install npm |
39 | run: npm i -gf npm@8.7.0 | 39 | run: npm i -gf "npm@$(node -p 'require("./package.json").engines.npm')" && npm -v |
40 | - name: Install pnpm | 40 | - name: Install pnpm |
41 | uses: pnpm/action-setup@v2.0.1 | 41 | run: npm i -gf "pnpm@$(node -p 'require("./recipes/package.json").engines.pnpm')" && pnpm -v |
42 | with: | ||
43 | version: 6.32.8 | ||
44 | - name: Install node dependencies | 42 | - name: Install node dependencies |
45 | run: npm i | 43 | run: npm i |
46 | - name: Update submodules | 44 | - name: Update submodules |