diff --git a/.github/workflows/api-tests.yml b/.github/workflows/api-tests.yml index 6a1f3c5b..e9579f25 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: [20.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..f7f0c0d1 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: [20.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..10d6d4a3 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: [20.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