From 811e56fa0a1be02e8b0c4142b09db99cff89dc93 Mon Sep 17 00:00:00 2001 From: JPBM135 Date: Mon, 16 Sep 2024 23:35:50 -0700 Subject: [PATCH] fix(ci): use setup-node to manage caches --- .github/workflows/tests.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index daa1d98ef..87c2cd294 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -13,10 +13,11 @@ jobs: - name: Install node.js v16 uses: actions/setup-node@v3 with: - node-version: 16 + node-version: 18 + cache: "yarn" - name: Install dependencies - uses: ./.github/actions/yarnCache + run: yarn --immutable - name: Build dependencies run: yarn build @@ -27,5 +28,5 @@ jobs: - name: Docker run: | - docker-compose -f docker-compose.yml -f docker-compose.local.yml build - docker-compose -f docker-compose.yml -f docker-compose.prod.yml build + docker compose -f docker-compose.yml -f docker-compose.local.yml build + docker compose -f docker-compose.yml -f docker-compose.prod.yml build