From 7634b5ec11f814f25eea354990b37643db618488 Mon Sep 17 00:00:00 2001 From: Adria Navarro Date: Wed, 17 May 2023 11:04:46 +0200 Subject: [PATCH] Cache setup-node --- .github/workflows/budibase_ci.yml | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/.github/workflows/budibase_ci.yml b/.github/workflows/budibase_ci.yml index 55c4405e10..20d2635aca 100644 --- a/.github/workflows/budibase_ci.yml +++ b/.github/workflows/budibase_ci.yml @@ -24,9 +24,10 @@ jobs: steps: - uses: actions/checkout@v2 - name: Use Node.js 14.x - uses: actions/setup-node@v1 + uses: actions/setup-node@v3 with: node-version: 14.x + cache: "yarn" - run: yarn - run: yarn lint @@ -38,9 +39,10 @@ jobs: submodules: true token: ${{ secrets.PERSONAL_ACCESS_TOKEN }} - name: Use Node.js 14.x - uses: actions/setup-node@v1 + uses: actions/setup-node@v3 with: node-version: 14.x + cache: "yarn" - run: yarn - run: yarn bootstrap - run: yarn build @@ -53,9 +55,10 @@ jobs: submodules: true token: ${{ secrets.PERSONAL_ACCESS_TOKEN }} - name: Use Node.js 14.x - uses: actions/setup-node@v1 + uses: actions/setup-node@v3 with: node-version: 14.x + cache: "yarn" - run: yarn - run: yarn bootstrap - run: yarn build @@ -74,9 +77,10 @@ jobs: submodules: true token: ${{ secrets.PERSONAL_ACCESS_TOKEN }} - name: Use Node.js 14.x - uses: actions/setup-node@v1 + uses: actions/setup-node@v3 with: node-version: 14.x + cache: "yarn" - run: yarn - run: yarn bootstrap - run: yarn build --scope=@budibase/types --scope=@budibase/shared-core @@ -90,9 +94,10 @@ jobs: submodules: true token: ${{ secrets.PERSONAL_ACCESS_TOKEN }} - name: Use Node.js 14.x - uses: actions/setup-node@v1 + uses: actions/setup-node@v3 with: node-version: 14.x + cache: "yarn" - run: yarn && yarn bootstrap && yarn build - run: | cd qa-core