From 33cac9902e228c9f1a9d4d18a71749774e45ce99 Mon Sep 17 00:00:00 2001 From: mingxuanzhang Date: Tue, 20 Feb 2024 11:54:59 -0800 Subject: [PATCH] chore: polish workflow --- .github/workflows/esbuild-publish.yml | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/.github/workflows/esbuild-publish.yml b/.github/workflows/esbuild-publish.yml index 9ff3e7f56..99f1a1e6e 100644 --- a/.github/workflows/esbuild-publish.yml +++ b/.github/workflows/esbuild-publish.yml @@ -25,15 +25,11 @@ jobs: with: node-version: ${{ inputs.nodeVersion }} registry-url: 'https://registry.npmjs.org' + cache: yarn - name: Install esbuild Dependencies run: | - yarn add esbuild@^0.19.5 -D - yarn add esbuild-plugin-pino@^2.1.0 -D - yarn add npm-dts@^1.3.12 -D - yarn add esbuild-plugin-tsc@^0.4.0 -D - - name: Install All Dependencies - run: | - yarn install --network-timeout 600000 + yarn add -D esbuild@^0.19.5 esbuild-plugin-pino@^2.1.0 npm-dts@^1.3.12 esbuild-plugin-tsc@^0.4.0 + - uses: salesforcecli/github-workflows/.github/actions/yarnInstallWithRetries@main - name: Update for Bundling run: | node scripts/updateForBundling.js