Skip to content
This repository was archived by the owner on Sep 8, 2025. It is now read-only.

Commit 273a72d

Browse files
committed
test(trdl-actions): lint code using GitHub CI
Signed-off-by: Alexandr Zaytsev <[email protected]>
1 parent ea1a6a9 commit 273a72d

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

.github/workflows/_lint.yaml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: xxxxx(internal)
2+
3+
on: [push]
4+
5+
jobs:
6+
lint:
7+
runs-on: ubuntu-22.04
8+
timeout-minutes: 10
9+
10+
steps:
11+
- name: Checkout code
12+
uses: actions/checkout@v4
13+
14+
- name: Use Node.js
15+
uses: actions/setup-node@v4
16+
with:
17+
node-version: '18.x'
18+
19+
- name: Clean install a project
20+
run: npm ci
21+
22+
- name: Lint
23+
run: |
24+
npm lint
25+
npm format:check

0 commit comments

Comments
 (0)