Fix Web App workflows (#3423)

* Fix Web App workflows

* Update Yarn to 4.4.0
This commit is contained in:
Victor Bayas
2024-08-08 14:56:03 -05:00
committed by GitHub
parent adfc96074f
commit 3c34602f9e
5 changed files with 7 additions and 7 deletions

View File

@@ -3,12 +3,12 @@ default: build-static
build-static:
@echo "Building frontend static assets to 'build'"
@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:
@echo "Building frontend static assets to 'build'"
@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:
./check-warnings.sh

View File

@@ -11,7 +11,7 @@ die() {
try() { "$@" &> yarn.log || die "cannot $*"; }
rm -f yarn.log
try make build-static-istanbul-coverage
try yarn buildistanbulcoverage
if cat yarn.log | grep "Compiled with warnings"; then
echo "There are warnings in the code"

View File

@@ -11,7 +11,7 @@ die() {
try() { "$@" &> yarn.log || die "cannot $*"; }
rm -f yarn.log
try make build-static
try yarn build
if cat yarn.log | grep "Compiled with warnings"; then
echo "There are warnings in the code"

View File

@@ -93,5 +93,5 @@
"semver": "^7.5.2"
},
"main": "index.js",
"packageManager": "yarn@4.3.0"
"packageManager": "yarn@4.4.0"
}

View File

@@ -17244,11 +17244,11 @@ __metadata:
"typescript@patch:typescript@npm%3A^5.5.3#optional!builtin<compat/typescript>":
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:
tsc: bin/tsc
tsserver: bin/tsserver
checksum: 10c0/5a437c416251334deeaf29897157032311f3f126547cfdc4b133768b606cb0e62bcee733bb97cf74c42fe7268801aea1392d8e40988cdef112e9546eba4c03c5
checksum: 10c0/911c7811d61f57f07df79c4a35f56a0f426a65426a020e5fcd792f66559f399017205f5f10255329ab5a3d8c2d1f1d19530aeceffda70758a521fae1d469432e
languageName: node
linkType: hard