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

Commit 808cf68

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

File tree

4 files changed

+1284
-1038
lines changed

4 files changed

+1284
-1038
lines changed

.github/workflows/_lint.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: xxxxx(internal)
1+
name: Lint
22

33
on: [push]
44

@@ -21,5 +21,5 @@ jobs:
2121

2222
- name: Lint
2323
run: |
24-
npm lint
25-
npm format:check
24+
npm run lint
25+
npm run format:check

.github/workflows/_test_unit.yaml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: Test Unit
2+
3+
on: [push]
4+
5+
jobs:
6+
test-unit:
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: Test Unit
23+
run: |
24+
npm run test

0 commit comments

Comments
 (0)