fix: missing the npm install during publish (#433)
Co-authored-by: rick <LinuxSuRen@users.noreply.github.com>
This commit is contained in:
parent
ce31b7145a
commit
344694031b
|
@ -144,6 +144,7 @@ jobs:
|
||||||
export TAG=$(gh release list -L 1 | awk '{print $4}')
|
export TAG=$(gh release list -L 1 | awk '{print $4}')
|
||||||
export TAG=${TAG#"v"}
|
export TAG=${TAG#"v"}
|
||||||
jq '.version = env.TAG' package.json > package.json.new && mv package.json.new package.json
|
jq '.version = env.TAG' package.json > package.json.new && mv package.json.new package.json
|
||||||
|
npm i
|
||||||
npm run publish
|
npm run publish
|
||||||
- name: Upload
|
- name: Upload
|
||||||
env:
|
env:
|
||||||
|
@ -154,6 +155,7 @@ jobs:
|
||||||
export TAG=$(git describe --tags --abbrev=0)
|
export TAG=$(git describe --tags --abbrev=0)
|
||||||
export TAG=${TAG#"v"}
|
export TAG=${TAG#"v"}
|
||||||
jq '.version = env.TAG' package.json > package.json.new && mv package.json.new package.json
|
jq '.version = env.TAG' package.json > package.json.new && mv package.json.new package.json
|
||||||
|
npm i
|
||||||
npm run publish
|
npm run publish
|
||||||
|
|
||||||
# image-operator:
|
# image-operator:
|
||||||
|
|
Loading…
Reference in New Issue