Condensend
This commit is contained in:
19
.github/workflows/pull-request.yml
vendored
19
.github/workflows/pull-request.yml
vendored
@@ -12,7 +12,7 @@ on:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
name: 🛠️ Build Check
|
name: 🛠️ Build & 🔍 Lint Check
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout Repository
|
- name: Checkout Repository
|
||||||
@@ -31,23 +31,6 @@ jobs:
|
|||||||
- name: 🛠️ Build Check
|
- name: 🛠️ Build Check
|
||||||
run: npm run compile
|
run: npm run compile
|
||||||
|
|
||||||
lint:
|
|
||||||
name: 🔍 Lint Check
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- name: Checkout Repository
|
|
||||||
uses: actions/checkout@v3
|
|
||||||
|
|
||||||
- name: Setup Node.js Environment
|
|
||||||
uses: actions/setup-node@v3
|
|
||||||
with:
|
|
||||||
cache: npm
|
|
||||||
cache-dependency-path: package-lock.json
|
|
||||||
node-version-file: .nvmrc
|
|
||||||
|
|
||||||
- name: Setup Project
|
|
||||||
run: npm ci
|
|
||||||
|
|
||||||
- name: 🔍 Linting check
|
- name: 🔍 Linting check
|
||||||
run: npm run lint
|
run: npm run lint
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user