Skip to content

Commit

Permalink
chore: adding missing pr inspect configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
aversini committed Nov 3, 2023
1 parent 47cab58 commit 8e6ac60
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 1 deletion.
26 changes: 26 additions & 0 deletions .github/workflows/pull-requests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Inspect Pull Requests

on:
push:
branches: [main]
pull_request:
branches: [main]

jobs:
inspect:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [20.x]

steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}

- run: yarn install
- run: npx lerna run build
- run: npx lerna run lint
- run: npx lerna run test:coverage
2 changes: 1 addition & 1 deletion packages/ui-components/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"scripts": {
"clean": "rimraf dist",
"dev": "vite --host",
"build": "yarn run clean && vite build",
"build": "yarn run clean && tsc && vite build",
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0 --fix --color",
"start": "static-server dist --port 5173",
"test": "vitest run",
Expand Down

0 comments on commit 8e6ac60

Please sign in to comment.