From 7898054c3480724dd48fb167859a9846ef4b9355 Mon Sep 17 00:00:00 2001 From: William Candillon Date: Sat, 16 Mar 2024 17:54:20 +0100 Subject: [PATCH] =?UTF-8?q?=E2=AC=86=EF=B8=8F=20update=20node=20version?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/build-npm.yml | 18 +++++------------- 1 file changed, 5 insertions(+), 13 deletions(-) diff --git a/.github/workflows/build-npm.yml b/.github/workflows/build-npm.yml index a6679d45f0..ed81f8ed43 100644 --- a/.github/workflows/build-npm.yml +++ b/.github/workflows/build-npm.yml @@ -11,23 +11,15 @@ jobs: cancel-in-progress: true steps: - name: checkout - uses: actions/checkout@v2 + uses: actions/checkout@v3 with: submodules: recursive - - name: Setup Nodejs and npm - uses: actions/setup-node@v2 + - uses: actions/setup-node@v3 with: - node-version: "16" - - - name: Setup yarn - run: npm install -g yarn - - - name: Setup Nodejs with yarn caching - uses: actions/setup-node@v2 - with: - node-version: "16" - cache: yarn + node-version: "lts/*" + cache: 'yarn' + cache-dependency-path: 'package/yarn.lock' - name: Install root node dependencies run: yarn