From 4bf08573482775099b9281b5c49544551c00ea51 Mon Sep 17 00:00:00 2001 From: Marcin Rataj Date: Mon, 29 Jul 2024 18:03:45 +0200 Subject: [PATCH] fix(ci): pin node version CI is broken, seems the last version that worked was 18, but it was not hardcoded everywhere, let's see if this helps --- .github/workflows/build-reports.yml | 32 ++++++++++++++++++++++++++ .github/workflows/check-compliance.yml | 4 ++++ 2 files changed, 36 insertions(+) diff --git a/.github/workflows/build-reports.yml b/.github/workflows/build-reports.yml index b99e5bc..562cb3f 100644 --- a/.github/workflows/build-reports.yml +++ b/.github/workflows/build-reports.yml @@ -23,6 +23,10 @@ jobs: steps: - name: Checkout 🛎️ uses: actions/checkout@v3 + - name: Setup node + uses: actions/setup-node@v4 + with: + node-version: 18 - uses: ipfs/aegir/actions/cache-node-modules@master - name: Reports Cache uses: actions/cache@v3 @@ -44,6 +48,10 @@ jobs: steps: - name: Checkout 🛎️ uses: actions/checkout@v3 + - name: Setup node + uses: actions/setup-node@v4 + with: + node-version: 18 - uses: ipfs/aegir/actions/cache-node-modules@master - name: Reports Cache uses: actions/cache@v3 @@ -65,6 +73,10 @@ jobs: steps: - name: Checkout 🛎️ uses: actions/checkout@v3 + - name: Setup node + uses: actions/setup-node@v4 + with: + node-version: 18 - uses: ipfs/aegir/actions/cache-node-modules@master - name: Reports Cache uses: actions/cache@v3 @@ -86,6 +98,10 @@ jobs: steps: - name: Checkout 🛎️ uses: actions/checkout@v3 + - name: Setup node + uses: actions/setup-node@v4 + with: + node-version: 18 - uses: ipfs/aegir/actions/cache-node-modules@master - name: Reports Cache uses: actions/cache@v3 @@ -107,6 +123,10 @@ jobs: steps: - name: Checkout 🛎️ uses: actions/checkout@v3 + - name: Setup node + uses: actions/setup-node@v4 + with: + node-version: 18 - uses: ipfs/aegir/actions/cache-node-modules@master - name: Reports Cache uses: actions/cache@v3 @@ -128,6 +148,10 @@ jobs: steps: - name: Checkout 🛎️ uses: actions/checkout@v3 + - name: Setup node + uses: actions/setup-node@v4 + with: + node-version: 18 - uses: ipfs/aegir/actions/cache-node-modules@master - name: Reports Cache uses: actions/cache@v3 @@ -149,6 +173,10 @@ jobs: steps: - name: Checkout 🛎️ uses: actions/checkout@v3 + - name: Setup node + uses: actions/setup-node@v4 + with: + node-version: 18 - uses: ipfs/aegir/actions/cache-node-modules@master - name: Reports Cache uses: actions/cache@v3 @@ -170,6 +198,10 @@ jobs: steps: - name: Checkout 🛎️ uses: actions/checkout@v3 + - name: Setup node + uses: actions/setup-node@v4 + with: + node-version: 18 - uses: ipfs/aegir/actions/cache-node-modules@master - name: Reports Cache uses: actions/cache@v3 diff --git a/.github/workflows/check-compliance.yml b/.github/workflows/check-compliance.yml index def1793..017711c 100644 --- a/.github/workflows/check-compliance.yml +++ b/.github/workflows/check-compliance.yml @@ -40,6 +40,10 @@ jobs: steps: - name: Checkout 🛎️ uses: actions/checkout@v3 + - name: Setup node + uses: actions/setup-node@v4 + with: + node-version: 18 - uses: ipfs/aegir/actions/cache-node-modules@master - name: Reports Cache uses: actions/cache@v3