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