File tree Expand file tree Collapse file tree 6 files changed +81
-40
lines changed Expand file tree Collapse file tree 6 files changed +81
-40
lines changed Original file line number Diff line number Diff line change 11version : 2
2+
23registries :
34 npm-github :
45 type : npm-registry
56 url : https://npm.pkg.github.com
7+ token : ${{secrets.GH_PACKAGES_NPM_READ_TOKEN}}
8+
69updates :
710 - package-ecosystem : " npm"
811 registries :
912 - npm-github
1013 directory : " /"
1114 schedule :
1215 interval : " weekly"
13- day : " sunday "
16+ day : " monday "
1417 target-branch : " main"
1518 labels :
1619 - " dependencies"
Original file line number Diff line number Diff line change 1+ name : Code Style 🔎
2+
3+ on :
4+ workflow_dispatch :
5+ workflow_call :
6+
7+ jobs :
8+ codestyle :
9+ name : Code Style 🔎
10+ runs-on : ubuntu-latest
11+ steps :
12+ - uses : actions/checkout@v4
13+ - uses : actions/setup-node@v4
14+ with :
15+ node-version-file : " .nvmrc"
16+ - run : npx --yes prettier -c .
Original file line number Diff line number Diff line change 1+ name : Linting 🔎
2+
3+ on :
4+ workflow_dispatch :
5+ workflow_call :
6+
7+ jobs :
8+ linting :
9+ name : Linting 🔎
10+ runs-on : ubuntu-latest
11+ steps :
12+ - uses : actions/checkout@v4
13+ - uses : actions/setup-node@v4
14+ with :
15+ node-version-file : " .nvmrc"
16+ - run : npm ci
17+ - run : npm run lint
Original file line number Diff line number Diff line change 1+ name : Testing 🧪
2+
3+ on :
4+ workflow_dispatch :
5+ workflow_call :
6+
7+ jobs :
8+ testing :
9+ name : Testing 🧪
10+ runs-on : ubuntu-latest
11+ steps :
12+ - uses : actions/checkout@v4
13+ - uses : actions/setup-node@v4
14+ with :
15+ node-version-file : " .nvmrc"
16+ - run : npm ci --workspace tests --include-workspace-root
17+ - run : npm run test -- --coverage
Original file line number Diff line number Diff line change 1+ name : Type checking 🔎
2+
3+ on :
4+ workflow_dispatch :
5+ workflow_call :
6+
7+ jobs :
8+ typecheck :
9+ name : Type checking 🔎
10+ runs-on : ubuntu-latest
11+ steps :
12+ - uses : actions/checkout@v4
13+ - uses : actions/setup-node@v4
14+ with :
15+ node-version-file : " .nvmrc"
16+ - run : npm ci
17+ - run : npm run typecheck
Original file line number Diff line number Diff line change @@ -14,46 +14,17 @@ concurrency:
1414
1515jobs :
1616 codestyle :
17- name : Code Style 🔎
18- runs-on : ubuntu-latest
19- steps :
20- - uses : actions/checkout@v4
21- - uses : actions/setup-node@v4
22- with :
23- node-version-file : " .nvmrc"
24- - name : Env setup
25- run : npm ci
26- - run : npm run codestyle:check .
17+ uses : ./.github/workflows/codestyle.yml
18+ secrets : inherit
2719
28- lint :
29- name : Linting 🔎
30- runs-on : ubuntu-latest
31- steps :
32- - uses : actions/checkout@v4
33- - uses : actions/setup-node@v4
34- with :
35- node-version-file : " .nvmrc"
36- - run : npm ci
37- - run : npm run lint
20+ linting :
21+ uses : ./.github/workflows/linting.yml
22+ secrets : inherit
3823
3924 typecheck :
40- name : Types 🔎
41- runs-on : ubuntu-latest
42- steps :
43- - uses : actions/checkout@v4
44- - uses : actions/setup-node@v4
45- with :
46- node-version-file : " .nvmrc"
47- - run : npm ci
48- - run : npm run typecheck
25+ uses : ./.github/workflows/typecheck.yml
26+ secrets : inherit
4927
50- test :
51- name : Testing 🔎
52- runs-on : ubuntu-latest
53- steps :
54- - uses : actions/checkout@v4
55- - uses : actions/setup-node@v4
56- with :
57- node-version-file : " .nvmrc"
58- - run : npm ci
59- - run : npm run test -- --coverage
28+ testing :
29+ uses : ./.github/workflows/testing.yml
30+ secrets : inherit
You can’t perform that action at this time.
0 commit comments