diff --git a/.github/workflows/ci-workflow.yml b/.github/workflows/ci-workflow.yml index 22f72c6..6741f7c 100644 --- a/.github/workflows/ci-workflow.yml +++ b/.github/workflows/ci-workflow.yml @@ -9,6 +9,10 @@ on: - '**' workflow_dispatch: +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + jobs: lint: runs-on: ubuntu-latest @@ -114,6 +118,7 @@ jobs: node: [ 16, 18, 20 ] runs-on: ubuntu-latest name: Linux / Node ${{ matrix.node }} arm64 + timeout-minutes: 15 steps: - name: Checkout uses: actions/checkout@v4 @@ -128,7 +133,7 @@ jobs: build-args: | NODE_VERSION=${{ matrix.node }} file: linux_arm.dockerfile - tags: linux_arm:latest + tags: linux_arm:node-${{ matrix.node }} load: true push: false platforms: linux/arm64 @@ -137,9 +142,9 @@ jobs: - name: Run test uses: addnab/docker-run-action@v3 with: - image: linux_arm:latest + image: linux_arm:node-${{ matrix.node }} options: --platform linux/arm64 run: | - npm install + npm install --verbose npm run unit npm run integration