From bc84628f08652a3af2a45a12f219bef46275dc33 Mon Sep 17 00:00:00 2001 From: Paula Rinta-Harri Date: Thu, 18 Apr 2024 11:13:35 +0300 Subject: [PATCH] Add ignore engines to yarn install --- .github/workflows/master.yml | 4 ---- deploy.sh | 2 +- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/.github/workflows/master.yml b/.github/workflows/master.yml index 6234404..793c8e9 100644 --- a/.github/workflows/master.yml +++ b/.github/workflows/master.yml @@ -17,10 +17,6 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@master - - name: Install latest Yarn - run: npm install -g yarn - - name: Print Yarn version - run: yarn --version - name: Use Node.js ${{ env.NODE_VERSION }} uses: actions/setup-node@v1 with: diff --git a/deploy.sh b/deploy.sh index d6a92d7..d1c0854 100644 --- a/deploy.sh +++ b/deploy.sh @@ -92,7 +92,7 @@ selectNodeVersion if [ -e "$DEPLOYMENT_TARGET/package.json" ]; then cd "$DEPLOYMENT_TARGET" echo "Running yarn install" - yarn install + yarn install --ignore-engines exitWithMessageOnError "yarn failed" cd - > /dev/null fi