Skip to content

Commit 88c02ef

Browse files
authored
Feature/Edit readme (#8)
* - add more keywords, rewrite readme * - fix build and test workflow, add coverage * - remove coverage * - edit description
1 parent d62e0ce commit 88c02ef

File tree

4 files changed

+404
-393
lines changed

4 files changed

+404
-393
lines changed

.github/workflows/build_and_test.yml

Lines changed: 17 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -8,49 +8,30 @@ on:
88
workflow_dispatch:
99

1010
jobs:
11-
build:
12-
name: Build
11+
build-and-test:
12+
name: Build, Test & Lint
1313
runs-on: ubuntu-latest
1414
steps:
1515
- name: Checkout repository
16-
uses: actions/checkout@v3
17-
- name: Setup NodeJS
18-
uses: actions/setup-node@v3
16+
uses: actions/checkout@v4
17+
18+
- name: Setup Node.js
19+
uses: actions/setup-node@v4
1920
with:
20-
node-version: 22.20.x
21+
node-version: 'lts/*'
22+
cache: 'npm'
23+
2124
- name: Install dependencies
2225
run: npm ci
23-
- name: Build Lib
26+
27+
- name: Lint Library
28+
run: npm run lint-lib
29+
30+
- name: Build Library
2431
run: npm run build-lib
32+
2533
- name: Build Example
2634
run: npm run build-example
2735

28-
test:
29-
name: Test
30-
needs: build
31-
runs-on: ubuntu-latest
32-
steps:
33-
- name: Checkout repository
34-
uses: actions/checkout@v3
35-
- name: Setup NodeJS
36-
uses: actions/setup-node@v3
37-
with:
38-
node-version: 22.20.x
39-
- name: Install dependencies
40-
run: npm ci
41-
42-
lint:
43-
name: Lint
44-
needs: build
45-
runs-on: ubuntu-latest
46-
steps:
47-
- name: Checkout repository
48-
uses: actions/checkout@v3
49-
- name: Setup NodeJS
50-
uses: actions/setup-node@v3
51-
with:
52-
node-version: 22.20.x
53-
- name: Install dependencies
54-
run: npm ci
55-
- name: Run Lint
56-
run: npm run lint-lib
36+
- name: Test Library
37+
run: npm run test-lib

0 commit comments

Comments
 (0)