From fca003341e7bfb6934b3f49d10835bfe146c4a6c Mon Sep 17 00:00:00 2001 From: Chris Manson Date: Tue, 1 Oct 2024 11:54:37 +0100 Subject: [PATCH 1/2] drop support for node < 18 --- .github/workflows/ci.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3f425b8..1aead0f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -19,13 +19,13 @@ jobs: strategy: matrix: - node-version: [10.x, 12.x, 13.x] + node-version: [18.x, 20.x, 22.x] steps: - - uses: actions/checkout@v1 + - 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 }} From 812e134165b284ae9a3929b97960cd53479c0824 Mon Sep 17 00:00:00 2001 From: Chris Manson Date: Tue, 1 Oct 2024 11:56:16 +0100 Subject: [PATCH 2/2] remove cron to prevent CI from being disabled --- .github/workflows/ci.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1aead0f..10ff75e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -3,13 +3,13 @@ name: CI on: push: branches: + - main - master - - 'v*' # older version branches - tags: - - '*' - pull_request: - schedule: - - cron: '0 3 * * *' # daily at 3am + pull_request: {} + +concurrency: + group: ci-${{ github.head_ref || github.ref }} + cancel-in-progress: true jobs: test: