From e52b98d20e55c9a6177756000406b689edd9bf10 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Enrique=20P=C3=B6hlmann?= Date: Sun, 3 Aug 2025 18:19:48 +0200 Subject: [PATCH] use deploy key --- .github/workflows/ci.yml | 23 ++++++++++++----------- .github/workflows/publish.yml | 1 + 2 files changed, 13 insertions(+), 11 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e78704e..28cea07 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -3,40 +3,41 @@ name: CI on: [push] jobs: - build: + lint: runs-on: ubuntu-latest - strategy: - matrix: - node-version: [18.x, 20.x, 22.x, 24.x] steps: - uses: actions/checkout@v4 with: show-progress: false - - name: Use Node.js ${{ matrix.node-version }} + - name: Use Node.js 24 uses: actions/setup-node@v4 with: - node-version: ${{ matrix.node-version }} + node-version: 24 cache: 'npm' - name: Install dependencies run: npm ci - - run: npm run build + - run: npm run lint - lint: + build: + needs: lint runs-on: ubuntu-latest + strategy: + matrix: + node-version: [18.x, 20.x, 22.x, 24.x] steps: - uses: actions/checkout@v4 with: show-progress: false - - name: Use Node.js 24 + - name: Use Node.js ${{ matrix.node-version }} uses: actions/setup-node@v4 with: - node-version: 24 + node-version: ${{ matrix.node-version }} cache: 'npm' - name: Install dependencies run: npm ci - - run: npm run lint + - run: npm run build test: needs: lint diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 5a68945..e13859e 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -12,6 +12,7 @@ jobs: - uses: actions/checkout@v4 with: token: ${{ secrets.GITHUB_TOKEN }} + ssh-key: ${{ secrets.MERGE_BYPASS_KEY }} ref: ${{ github.event.repository.default_branch }} - name: Setup Node.js uses: actions/setup-node@v4