Skip to content

Commit 1e6d9a0

Browse files
committed
Create lint github workflow
1 parent a1550ae commit 1e6d9a0

File tree

2 files changed

+22
-0
lines changed

2 files changed

+22
-0
lines changed

.github/workflows/lint.yaml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: Lint
2+
on: [workflow_call]
3+
env:
4+
DOCKER: false
5+
jobs:
6+
lint:
7+
runs-on: ubuntu-latest
8+
steps:
9+
- uses: actions/checkout@v4
10+
- uses: extractions/setup-just@v2
11+
- uses: actions/setup-node@v4
12+
with:
13+
node-version: '20'
14+
cache: 'npm'
15+
cache-dependency-path: '**/package-lock.json'
16+
- run: just vscode deps
17+
- run: just vscode lint
18+
- run: just vscode check-format

.github/workflows/pull-request.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@ concurrency:
66
group: ${{ github.head_ref }}
77
cancel-in-progress: true
88
jobs:
9+
# Linting and formatting
10+
lint:
11+
uses: ./.github/workflows/lint.yaml
12+
913
# Unit Tests
1014
agent:
1115
uses: ./.github/workflows/agent.yaml

0 commit comments

Comments
 (0)