Add ESLint back into CI pipeline
This commit is contained in:
+13
-14
@@ -491,20 +491,19 @@ jobs:
|
||||
# - run: npm run test:sb
|
||||
# env: { CI: true }
|
||||
|
||||
# Temporarily disabled - 523 pre-existing ESLint issues will be addressed in separate ticket
|
||||
# lint:
|
||||
# runs-on: [self-hosted, macos-latest]
|
||||
# steps:
|
||||
# - uses: actions/checkout@v4
|
||||
# - uses: actions/setup-node@v4
|
||||
# if: ${{ github.server_url == 'https://github.com' }}
|
||||
# with: { node-version: 20, cache: npm }
|
||||
# - uses: actions/setup-node@v4
|
||||
# if: ${{ github.server_url != 'https://github.com' || !github.server_url }}
|
||||
# with: { node-version: 20 }
|
||||
# - run: npm ci
|
||||
# - run: npm run lint
|
||||
# - run: npm exec prettier -- --check "**/*.{js,jsx,ts,tsx,json,css,md}"
|
||||
lint:
|
||||
runs-on: [self-hosted, macos-latest]
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/setup-node@v4
|
||||
if: ${{ github.server_url == 'https://github.com' }}
|
||||
with: { node-version: 20, cache: npm }
|
||||
- uses: actions/setup-node@v4
|
||||
if: ${{ github.server_url != 'https://github.com' || !github.server_url }}
|
||||
with: { node-version: 20 }
|
||||
- run: npm ci
|
||||
- run: npm run lint
|
||||
- run: npm exec prettier -- --check "**/*.{js,jsx,ts,tsx,json,css,md}"
|
||||
|
||||
build:
|
||||
runs-on: [self-hosted, macos-latest]
|
||||
|
||||
Reference in New Issue
Block a user