From 1c71c32cafceea3294ec0b80b4c7b9a6e2bdeaf9 Mon Sep 17 00:00:00 2001 From: Sir Cathy W Date: Thu, 24 Oct 2024 18:40:33 +1100 Subject: [PATCH 1/2] Update GH workflows to node 18 and latest actions --- .github/workflows/api-tests.yml | 6 +++--- .github/workflows/scraper-tests.yml | 6 +++--- .github/workflows/update-data.yml | 6 +++--- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/api-tests.yml b/.github/workflows/api-tests.yml index 6a1f3c5b..c7a39719 100644 --- a/.github/workflows/api-tests.yml +++ b/.github/workflows/api-tests.yml @@ -19,12 +19,12 @@ jobs: strategy: matrix: - node-version: [12.x] + node-version: [18.x] steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v1 + uses: actions/setup-node@v4 with: node-version: ${{ matrix.node-version }} - run: cd api && npm ci diff --git a/.github/workflows/scraper-tests.yml b/.github/workflows/scraper-tests.yml index 4b52b106..325eebd4 100644 --- a/.github/workflows/scraper-tests.yml +++ b/.github/workflows/scraper-tests.yml @@ -19,12 +19,12 @@ jobs: strategy: matrix: - node-version: [12.x] + node-version: [18.x] steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v1 + uses: actions/setup-node@v4 with: node-version: ${{ matrix.node-version }} - run: cd scraper && npm ci diff --git a/.github/workflows/update-data.yml b/.github/workflows/update-data.yml index 882d1966..1143d7e9 100644 --- a/.github/workflows/update-data.yml +++ b/.github/workflows/update-data.yml @@ -13,17 +13,17 @@ jobs: strategy: matrix: - node-version: [12.x] + node-version: [18.x] steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 with: ref: 'master' persist-credentials: false fetch-depth: 0 - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v1 + uses: actions/setup-node@v4 with: node-version: ${{ matrix.node-version }} - run: cd scraper && npm ci From 4f0ff789599e62579396d0977d3024e6be3a8f9d Mon Sep 17 00:00:00 2001 From: Sir Cathy W Date: Thu, 24 Oct 2024 18:50:13 +1100 Subject: [PATCH 2/2] 18 too old, update to node 20 --- .github/workflows/api-tests.yml | 2 +- .github/workflows/scraper-tests.yml | 2 +- .github/workflows/update-data.yml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/api-tests.yml b/.github/workflows/api-tests.yml index c7a39719..e9579f25 100644 --- a/.github/workflows/api-tests.yml +++ b/.github/workflows/api-tests.yml @@ -19,7 +19,7 @@ jobs: strategy: matrix: - node-version: [18.x] + node-version: [20.x] steps: - uses: actions/checkout@v4 diff --git a/.github/workflows/scraper-tests.yml b/.github/workflows/scraper-tests.yml index 325eebd4..f7f0c0d1 100644 --- a/.github/workflows/scraper-tests.yml +++ b/.github/workflows/scraper-tests.yml @@ -19,7 +19,7 @@ jobs: strategy: matrix: - node-version: [18.x] + node-version: [20.x] steps: - uses: actions/checkout@v4 diff --git a/.github/workflows/update-data.yml b/.github/workflows/update-data.yml index 1143d7e9..10d6d4a3 100644 --- a/.github/workflows/update-data.yml +++ b/.github/workflows/update-data.yml @@ -13,7 +13,7 @@ jobs: strategy: matrix: - node-version: [18.x] + node-version: [20.x] steps: - uses: actions/checkout@v4