Skip to content

Commit 06e8a70

Browse files
committed
chore(ci): configure ci checks
1 parent e7272a1 commit 06e8a70

3 files changed

Lines changed: 29 additions & 1 deletion

File tree

.github/workflows/check.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: check
2+
3+
on:
4+
pull_request:
5+
workflow_dispatch:
6+
7+
jobs:
8+
check:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- uses: actions/checkout@v4
12+
- uses: pnpm/action-setup@v4
13+
with:
14+
run_install: false
15+
- uses: actions/setup-node@v4
16+
with:
17+
cache: pnpm
18+
node-version: latest
19+
registry-url: https://registry.npmjs.org
20+
21+
- run: pnpm install
22+
- run: pnpm lint
23+
- run: pnpm build
24+
- run: pnpm test

cspell.config.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ words:
77
- denoland
88
- ependencies
99
- foxts
10+
- eslintcache
1011
- importantimport
1112
- lume
1213
- lumeland

package.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,12 @@
55
"private": true,
66
"packageManager": "pnpm@10.9.0",
77
"scripts": {
8+
"build": "pnpm -r build",
9+
"build:packages": "pnpm -rF \"./packages/*\" build",
810
"bump": "bumpp",
911
"dev": "pnpm -rF @moeru/std-docs dev",
10-
"lint": "moeru-lint --flag unstable_native_nodejs_ts_config"
12+
"lint": "moeru-lint --flag unstable_native_nodejs_ts_config",
13+
"test": "pnpm -r --workspace-concurrency=1 test"
1114
},
1215
"devDependencies": {
1316
"@antfu/eslint-config": "^4.12.0",

0 commit comments

Comments
 (0)