From da2b314189c5f80474f448be87e5275831124213 Mon Sep 17 00:00:00 2001 From: Hui Zhao Date: Wed, 24 Jul 2024 13:32:31 -0700 Subject: [PATCH] Test --- .github/actions/load-verdaccio-with-amplify-js/action.yml | 1 - .github/actions/node-and-build/action.yml | 5 ++--- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/actions/load-verdaccio-with-amplify-js/action.yml b/.github/actions/load-verdaccio-with-amplify-js/action.yml index 83a4312624b..c8cd349cb86 100644 --- a/.github/actions/load-verdaccio-with-amplify-js/action.yml +++ b/.github/actions/load-verdaccio-with-amplify-js/action.yml @@ -23,7 +23,6 @@ runs: NPM_PASS: verdaccio NPM_EMAIL: verdaccio@amplify.js run: | - npm --version npm i -g npm-cli-adduser npm-cli-adduser sleep 1 diff --git a/.github/actions/node-and-build/action.yml b/.github/actions/node-and-build/action.yml index c310ed384d0..a469c9b3feb 100644 --- a/.github/actions/node-and-build/action.yml +++ b/.github/actions/node-and-build/action.yml @@ -6,14 +6,13 @@ inputs: default: false node_version: required: false - default: '18.20.2' runs: using: 'composite' steps: - - name: Setup Node.js 18 + - name: Setup Node.js uses: actions/setup-node@b39b52d1213e96004bfcb1c61a8a6fa8ab84f3e8 # v4.0.1 with: - node-version: ${{ inputs.node_version }} + node-version: ${{ inputs.node_version || '18.20.2' }} env: SEGMENT_DOWNLOAD_TIMEOUT_MINS: 2 - uses: actions/cache@13aacd865c20de90d75de3b17ebe84f7a17d57d2 # v4.0.0