mirror of
https://github.com/clusterio/clusterio.git
synced 2026-11-21 16:13:12 +09:00
Added linter to CI action
This commit is contained in:
1 file changed
+12
-3
@@ -8,10 +8,8 @@ on:
|
|||||||
pull_request:
|
pull_request:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
test:
|
||||||
|
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
node-version: [12.x, 14.x, 16.x]
|
node-version: [12.x, 14.x, 16.x]
|
||||||
@@ -28,3 +26,14 @@ jobs:
|
|||||||
- run: npx lerna bootstrap --hoist
|
- run: npx lerna bootstrap --hoist
|
||||||
- run: npx lerna run build
|
- run: npx lerna run build
|
||||||
- run: npm test
|
- run: npm test
|
||||||
|
|
||||||
|
lint:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
- uses: actions/setup-node@v2
|
||||||
|
with:
|
||||||
|
node-version: 16.x
|
||||||
|
- run: npm i --no-optional
|
||||||
|
- run: npx lerna bootstrap --hoist
|
||||||
|
- run: npm run lint
|
||||||
Reference in new issue
Block a user