File tree 3 files changed +81
-19
lines changed
3 files changed +81
-19
lines changed Original file line number Diff line number Diff line change 9
9
branches :
10
10
- main
11
11
- dev
12
+ workflow_dispatch :
12
13
13
14
jobs :
14
15
ci :
15
- runs-on : ${{ matrix.os }}
16
-
17
- strategy :
18
- matrix :
19
- os : [ubuntu-latest]
20
- node : [20]
16
+ runs-on : ubuntu-latest
21
17
22
18
steps :
23
- - uses : actions/setup-node@v1
24
- with :
25
- node-version : ${{ matrix.node }}
19
+ - name : Checkout
20
+ uses : actions/checkout@v4
26
21
27
- - name : checkout
28
- uses : actions/checkout@master
22
+ - uses : pnpm/action-setup@v4
23
+ name : Install pnpm
24
+ with :
25
+ version : 9
26
+ run_install : false
29
27
30
- - name : cache node_modules
31
- uses : actions/cache@v1
28
+ - name : Install Node.js
29
+ uses : actions/setup-node@v4
32
30
with :
33
- path : node_modules
34
- key : ${{ matrix.os }}-node-v${{ matrix.node }}-deps-${{ hashFiles(format('{0}{1}', github.workspace, '/ pnpm-lock.yaml')) }}
31
+ node-version : 20
32
+ cache : pnpm
35
33
36
34
- name : Install dependencies
37
- if : steps.cache.outputs.cache-hit != 'true'
38
- run : pnpm i
35
+ run : pnpm install
39
36
40
37
- name : Test
41
38
run : pnpm test
Original file line number Diff line number Diff line change 1
- .vscode
1
+ # .gitignore v1.4.0
2
+ # https://gist.github.com/Sandros94/7f3dc1539c8f5905c495aa1bb417589c
3
+
4
+ # Dependencies
2
5
node_modules
6
+
7
+ # Temp directories
8
+ .temp
9
+ .tmp
10
+ .cache
11
+
12
+ # Generated dirs
3
13
dist
4
- types
14
+
15
+ # Nuxt
16
+ .nitro
17
+ .nuxt
18
+ .output
19
+ .data
20
+ .vercel_build_output
21
+ .build- *
22
+ .netlify
23
+
24
+ # PNPM
25
+ .pnpm-store
26
+
27
+ # Yarn
28
+ ** /.yarn /cache
29
+ ** /.yarn /* state *
30
+
31
+ # Local env files
32
+ .env
33
+ .env. *
34
+ ! .env.example
35
+
36
+ # Testing
37
+ reports
38
+ coverage
39
+ * .lcov
40
+ .nyc_output
41
+
42
+ # Logs
43
+ logs
44
+ * .log
45
+
46
+ # VSCode
47
+ .vscode /*
48
+ ! .vscode /settings.json
49
+ ! .vscode /tasks.json
50
+ ! .vscode /launch.json
51
+ ! .vscode /extensions.json
52
+ ! .vscode /* .code-snippets
53
+
54
+ # Intellij idea
55
+ * .iml
56
+ .idea
57
+
58
+ # OSX
59
+ .DS_Store
60
+ .AppleDouble
61
+ .LSOverride
62
+ .AppleDB
63
+ .AppleDesktop
64
+ Network Trash Folder
65
+ Temporary Items
66
+ .apdisk
67
+
68
+ # Project specific
Original file line number Diff line number Diff line change 38
38
"build" : " unbuild" ,
39
39
"dev" : " vitest" ,
40
40
"lint" : " eslint ." ,
41
+ "lint:fix" : " eslint --fix ." ,
41
42
"release" : " yarn build && changelogen --patch && git push --follow-tags && yarn publish" ,
42
43
"test" : " pnpm lint && pnpm test:types && vitest --run" ,
43
44
"test:types" : " tsc --noEmit --skipLibCheck"
You can’t perform that action at this time.
0 commit comments