From c057c3a03bc7ded63ac7422b00da9815aaea8b25 Mon Sep 17 00:00:00 2001 From: Martin Gregoire Date: Wed, 15 Mar 2023 15:29:18 +0100 Subject: [PATCH] fix: replace deprecated GitHub action --- .github/workflows/ci.yml | 12 ++++++++++-- .github/workflows/deploy.yml | 6 +++++- 2 files changed, 15 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 93f92c2..3a93c6a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -9,7 +9,11 @@ jobs: steps: - uses: actions/checkout@v3 - - uses: c-hive/gha-yarn-cache@v2 + - name: Setup Node.js + uses: actions/setup-node@v3 + with: + node-version: '18' + cache: 'yarn' - name: Install dependencies run: yarn install @@ -24,7 +28,11 @@ jobs: steps: - uses: actions/checkout@v3 - - uses: c-hive/gha-yarn-cache@v2 + - name: Setup Node.js + uses: actions/setup-node@v3 + with: + node-version: '18' + cache: 'yarn' - name: Install dependencies run: yarn install diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 4ccae7e..544b218 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -14,7 +14,11 @@ jobs: steps: - uses: actions/checkout@v3 - - uses: c-hive/gha-yarn-cache@v2 + - name: Setup Node.js + uses: actions/setup-node@v3 + with: + node-version: '18' + cache: 'yarn' - name: Install dependencies run: yarn install