Skip to content

Commit a1b51c7

Browse files
authored
Ci/push (#120)
* feat: increase dependabot count PR for root * feat: add ci to run lint:check on pull requests * update: scripts fot test * feat: addition of test check command in CI * feat: addition of env for single update point * chore: update in correct data * chore: correction in scripts
1 parent d5c968a commit a1b51c7

File tree

3 files changed

+65
-1
lines changed

3 files changed

+65
-1
lines changed

.github/dependabot.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ updates:
1010
schedule:
1111
interval: 'weekly'
1212
day: 'sunday'
13-
open-pull-requests-limit: 5
13+
open-pull-requests-limit: 15
1414
- package-ecosystem: 'npm'
1515
directory: '/www'
1616
schedule:

.github/workflows/development.yml

Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
1+
name: Development
2+
on:
3+
pull_request:
4+
types:
5+
- opened
6+
- edited
7+
- synchronize
8+
- reopened
9+
10+
jobs:
11+
lint:
12+
name: Lint
13+
runs-on: ubuntu-latest
14+
strategy:
15+
matrix:
16+
node-version: [latest]
17+
steps:
18+
- name: Checkout code
19+
uses: actions/checkout@v4
20+
21+
- name: Setup pnpm
22+
uses: pnpm/action-setup@v3
23+
with:
24+
version: 8
25+
26+
- name: Using Node.js ${{matrix.node-version}}
27+
uses: actions/setup-node@v4
28+
with:
29+
node-version: ${{matrix.node-version}}
30+
cache: 'pnpm'
31+
32+
- name: Install dependencies
33+
run: pnpm install
34+
35+
- name: Lint check
36+
run: pnpm lint:check
37+
38+
test:
39+
name: Test
40+
runs-on: ubuntu-latest
41+
strategy:
42+
matrix:
43+
node-version: [latest]
44+
steps:
45+
- name: Checkout code
46+
uses: actions/checkout@v4
47+
48+
- name: Setup pnpm
49+
uses: pnpm/action-setup@v3
50+
with:
51+
version: 8
52+
53+
- name: Using Node.js ${{matrix.node-version}}
54+
uses: actions/setup-node@v4
55+
with:
56+
node-version: ${{matrix.node-version}}
57+
cache: 'pnpm'
58+
59+
- name: Install dependencies
60+
run: pnpm install
61+
62+
- name: Test check
63+
run: pnpm test:check

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
"lint": "pnpm run prettier:format && turbo lint",
99
"lint:check": "pnpm run prettier:check && turbo lint:check",
1010
"test": "turbo test",
11+
"test:check": "turbo test:check",
1112
"format": "prettier --write \"**/*.{ts,tsx,md}\"",
1213
"dev:www": "turbo dev --filter=www",
1314
"build:www": "turbo build --filter=www",

0 commit comments

Comments
 (0)