diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4f3bd79..eb0f911 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -2,10 +2,11 @@ name: CI on: push: - branches: [main] + branches: [ "**" ] pull_request: - branches: [main] + branches: [ "**" ] +# cancel superseded runs on the same ref to save minutes concurrency: group: ${{ github.workflow }}-${{ github.ref }} cancel-in-progress: true @@ -16,6 +17,7 @@ permissions: jobs: build-test: runs-on: ubuntu-latest + timeout-minutes: 15 steps: - name: Checkout @@ -27,15 +29,6 @@ jobs: node-version: 20 cache: 'npm' - - name: Cache node_modules - id: cache-node-modules - uses: actions/cache@v4 - with: - path: node_modules - key: node-modules-${{ hashFiles('package-lock.json') }} - restore-keys: | - node-modules- - - name: Install dependencies run: npm ci