From 5c4ffe620c6935aa4a7310b1dc2f96c55dec5966 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robin=20Nederg=C3=A5rd?= Date: Thu, 20 Nov 2025 09:35:30 +0100 Subject: [PATCH 1/3] fix: split ci steps --- .github/workflows/ci.yml | 55 +++++++++++++++++++++++++++------------- 1 file changed, 37 insertions(+), 18 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 08ba070..c08822e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -31,28 +31,47 @@ jobs: build: runs-on: ubuntu-latest needs: pr-title - steps: - - name: Checkout repository - uses: actions/checkout@v4 - - - name: Set up Node.js - uses: actions/setup-node@v4 + - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 with: node-version: '22' cache: 'npm' + - run: npm install + - run: npm run build - - name: Install dependencies - run: npm install - - - name: Audit dependencies - run: npm audit --omit=dev - - - name: Lint - run: npm run lint + lint: + runs-on: ubuntu-latest + needs: build + steps: + - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 + with: + node-version: '22' + cache: 'npm' + - run: npm install + - run: npm run lint - - name: Test - run: npm run test + test: + runs-on: ubuntu-latest + needs: build + steps: + - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 + with: + node-version: '22' + cache: 'npm' + - run: npm install + - run: npm run test - - name: Build - run: npm run build + audit: + runs-on: ubuntu-latest + needs: build + steps: + - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 + with: + node-version: '22' + cache: 'npm' + - run: npm install + - run: npm audit --omit=dev From e5f425238afa9c0fd8aec92cb499f87afdaedf60 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robin=20Nederg=C3=A5rd?= Date: Thu, 20 Nov 2025 09:41:48 +0100 Subject: [PATCH 2/3] fix: parallellize build and pr name check --- .github/workflows/ci.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c08822e..f2e4583 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -30,7 +30,6 @@ jobs: build: runs-on: ubuntu-latest - needs: pr-title steps: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 From 9fee5c45b7f4477820afdff2901422dddefc43c4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robin=20Nederg=C3=A5rd?= Date: Thu, 20 Nov 2025 09:47:13 +0100 Subject: [PATCH 3/3] fix: parallellize more --- .github/workflows/ci.yml | 3 --- 1 file changed, 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f2e4583..f0f0ac0 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -41,7 +41,6 @@ jobs: lint: runs-on: ubuntu-latest - needs: build steps: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 @@ -53,7 +52,6 @@ jobs: test: runs-on: ubuntu-latest - needs: build steps: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 @@ -65,7 +63,6 @@ jobs: audit: runs-on: ubuntu-latest - needs: build steps: - uses: actions/checkout@v4 - uses: actions/setup-node@v4