web: Version seal needs to run inside `npm` in order to get a version number
This commit is contained in:
parent
d629459a29
commit
4c8b225ddd
|
@ -320,7 +320,7 @@ jobs:
|
|||
env:
|
||||
BUILD_ID: ${{ github.run_number }}
|
||||
ENABLE_VERSION_SEAL: "true"
|
||||
run: node packages/core/tools/set_version.js
|
||||
run: npm run version-seal
|
||||
|
||||
- name: Produce reproducible source archive
|
||||
if: ${{ !matrix.demo }}
|
||||
|
|
|
@ -49,6 +49,7 @@
|
|||
"test": "npm test --workspaces --if-present",
|
||||
"docs": "npm run docs --workspaces --if-present",
|
||||
"lint": "eslint . && stylelint **.css",
|
||||
"format": "eslint . --fix && stylelint --fix **.css"
|
||||
"format": "eslint . --fix && stylelint --fix **.css",
|
||||
"version-seal": "cross-env ENABLE_VERSION_SEAL=true node packages/core/tools/set_version.js"
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue