Skip to content

Commit

Permalink
lint in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelglass committed Mar 5, 2024
1 parent 749da1d commit 708526d
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/test-on-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,14 @@ jobs:
run: npm install
- name: Build the app
run: npm run build
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: '18'
- name: Installing node_modules
run: npm install
- name: Run lint
run: npm run lint:check
2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@
"scripts": {
"postinstall": "npm run build",
"build": "lerna run build",
"lint": "lerna run lint",
"lint:check": "lerna run lint:check",
"publish": "rm -f package-lock.json && rm -f packages/*/package-lock.json && lerna publish --no-private",
"watch": "lerna watch -- lerna run build --since"
},
Expand Down

0 comments on commit 708526d

Please sign in to comment.