Fix Web App workflows (#3423)
* Fix Web App workflows * Update Yarn to 4.4.0
This commit is contained in:
@@ -3,12 +3,12 @@ default: build-static
|
|||||||
build-static:
|
build-static:
|
||||||
@echo "Building frontend static assets to 'build'"
|
@echo "Building frontend static assets to 'build'"
|
||||||
@if [ -f "${NVM_DIR}/nvm.sh" ]; then \. "${NVM_DIR}/nvm.sh" && nvm install && nvm use; fi && \
|
@if [ -f "${NVM_DIR}/nvm.sh" ]; then \. "${NVM_DIR}/nvm.sh" && nvm install && nvm use; fi && \
|
||||||
NODE_OPTIONS=--openssl-legacy-provider yarn build
|
yarn build
|
||||||
|
|
||||||
build-static-istanbul-coverage:
|
build-static-istanbul-coverage:
|
||||||
@echo "Building frontend static assets to 'build'"
|
@echo "Building frontend static assets to 'build'"
|
||||||
@if [ -f "${NVM_DIR}/nvm.sh" ]; then \. "${NVM_DIR}/nvm.sh" && nvm install && nvm use; fi && \
|
@if [ -f "${NVM_DIR}/nvm.sh" ]; then \. "${NVM_DIR}/nvm.sh" && nvm install && nvm use; fi && \
|
||||||
NODE_OPTIONS=--openssl-legacy-provider yarn buildistanbulcoverage
|
yarn buildistanbulcoverage
|
||||||
|
|
||||||
test-warnings:
|
test-warnings:
|
||||||
./check-warnings.sh
|
./check-warnings.sh
|
||||||
|
|||||||
@@ -11,7 +11,7 @@ die() {
|
|||||||
try() { "$@" &> yarn.log || die "cannot $*"; }
|
try() { "$@" &> yarn.log || die "cannot $*"; }
|
||||||
|
|
||||||
rm -f yarn.log
|
rm -f yarn.log
|
||||||
try make build-static-istanbul-coverage
|
try yarn buildistanbulcoverage
|
||||||
|
|
||||||
if cat yarn.log | grep "Compiled with warnings"; then
|
if cat yarn.log | grep "Compiled with warnings"; then
|
||||||
echo "There are warnings in the code"
|
echo "There are warnings in the code"
|
||||||
|
|||||||
@@ -11,7 +11,7 @@ die() {
|
|||||||
try() { "$@" &> yarn.log || die "cannot $*"; }
|
try() { "$@" &> yarn.log || die "cannot $*"; }
|
||||||
|
|
||||||
rm -f yarn.log
|
rm -f yarn.log
|
||||||
try make build-static
|
try yarn build
|
||||||
|
|
||||||
if cat yarn.log | grep "Compiled with warnings"; then
|
if cat yarn.log | grep "Compiled with warnings"; then
|
||||||
echo "There are warnings in the code"
|
echo "There are warnings in the code"
|
||||||
|
|||||||
@@ -93,5 +93,5 @@
|
|||||||
"semver": "^7.5.2"
|
"semver": "^7.5.2"
|
||||||
},
|
},
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"packageManager": "yarn@4.3.0"
|
"packageManager": "yarn@4.4.0"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -17244,11 +17244,11 @@ __metadata:
|
|||||||
|
|
||||||
"typescript@patch:typescript@npm%3A^5.5.3#optional!builtin<compat/typescript>":
|
"typescript@patch:typescript@npm%3A^5.5.3#optional!builtin<compat/typescript>":
|
||||||
version: 5.5.3
|
version: 5.5.3
|
||||||
resolution: "typescript@patch:typescript@npm%3A5.5.3#optional!builtin<compat/typescript>::version=5.5.3&hash=b45daf"
|
resolution: "typescript@patch:typescript@npm%3A5.5.3#optional!builtin<compat/typescript>::version=5.5.3&hash=379a07"
|
||||||
bin:
|
bin:
|
||||||
tsc: bin/tsc
|
tsc: bin/tsc
|
||||||
tsserver: bin/tsserver
|
tsserver: bin/tsserver
|
||||||
checksum: 10c0/5a437c416251334deeaf29897157032311f3f126547cfdc4b133768b606cb0e62bcee733bb97cf74c42fe7268801aea1392d8e40988cdef112e9546eba4c03c5
|
checksum: 10c0/911c7811d61f57f07df79c4a35f56a0f426a65426a020e5fcd792f66559f399017205f5f10255329ab5a3d8c2d1f1d19530aeceffda70758a521fae1d469432e
|
||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user