Skip to content

Commit b6499be

Browse files
committed
Add github actions
1 parent 92e8527 commit b6499be

File tree

2 files changed

+28
-0
lines changed

2 files changed

+28
-0
lines changed

.github/workflows/check_types.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: 'Check types'
2+
3+
on:
4+
- 'push'
5+
- 'pull_request'
6+
7+
jobs:
8+
build:
9+
runs-on: 'ubuntu-latest'
10+
steps:
11+
- uses: 'actions/checkout@v4'
12+
- name: 'Install pnpm'
13+
uses: 'pnpm/action-setup@v4'
14+
with:
15+
version: 9
16+
- name: 'Use Node'
17+
uses: 'actions/setup-node@v4'
18+
with:
19+
node-version: 20
20+
cache: 'pnpm'
21+
- name: 'Install dependencies'
22+
run: 'pnpm install'
23+
- name: 'Check types'
24+
run: 'pnpm check'

.vscode/settings.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,9 @@
1010
"[javascript]": {
1111
"editor.defaultFormatter": "vscode.typescript-language-features"
1212
},
13+
"[yaml]": {
14+
"editor.tabSize": 2,
15+
"editor.insertSpaces": true
16+
},
1317
"typescript.preferences.quoteStyle": "double"
1418
}

0 commit comments

Comments
 (0)