Refactor lint job to use reusable workflow for code linting

This commit is contained in:
mr. M
2025-01-12 20:53:46 +01:00
parent 1318341451
commit 9160111e20
2 changed files with 3 additions and 22 deletions

View File

@@ -184,29 +184,9 @@ jobs:
commit_user_email: zen-browser-auto@users.noreply.github.com
lint:
runs-on: ubuntu-latest
uses: ./.github/workflows/code-linter.yml
needs: [build-data]
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
submodules: recursive
token: ${{ secrets.DEPLOY_KEY }}
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'
- name: Setup pnpm
run: npm install -g pnpm
- name: Install dependencies
run: |
pnpm install
- name: Lint
run: pnpm lint
name: Lint
check-release:
runs-on: ubuntu-latest

View File

@@ -5,6 +5,7 @@ on:
branches:
- dev
workflow_dispatch:
workflow_call:
pull_request:
branches:
- dev