mirror of
https://github.com/tiny-craft/tiny-rdm.git
synced 2025-04-23 23:08:06 +08:00
fix: github actions cause error when run 'npm install -g npm' to install the latest npm
This commit is contained in:
parent
4fb5c860b5
commit
8912971be0
2
.github/workflows/release-linux.yaml
vendored
2
.github/workflows/release-linux.yaml
vendored
@ -53,7 +53,7 @@ jobs:
|
||||
- name: Build frontend assets
|
||||
shell: bash
|
||||
run: |
|
||||
npm install -g npm
|
||||
npm install -g npm@8
|
||||
jq '.info.productVersion = "${{ steps.normalise_version.outputs.version }}"' wails.json > tmp.json
|
||||
mv tmp.json wails.json
|
||||
cd frontend
|
||||
|
2
.github/workflows/release-macos.yaml
vendored
2
.github/workflows/release-macos.yaml
vendored
@ -59,7 +59,7 @@ jobs:
|
||||
- name: Build frontend assets
|
||||
shell: bash
|
||||
run: |
|
||||
npm install -g npm
|
||||
npm install -g npm@8
|
||||
jq '.info.productVersion = "${{ steps.normalise_version.outputs.version }}"' wails.json > tmp.json
|
||||
mv tmp.json wails.json
|
||||
cd frontend
|
||||
|
2
.github/workflows/release-windows.yaml
vendored
2
.github/workflows/release-windows.yaml
vendored
@ -52,7 +52,7 @@ jobs:
|
||||
- name: Build frontend assets
|
||||
shell: bash
|
||||
run: |
|
||||
npm install -g npm
|
||||
npm install -g npm@8
|
||||
jq '.info.productVersion = "${{ steps.normalise_version.outputs.version }}"' wails.json > tmp.json
|
||||
mv tmp.json wails.json
|
||||
cd frontend
|
||||
|
Loading…
x
Reference in New Issue
Block a user