14
14
- uses : actions/setup-node@v4
15
15
with :
16
16
node-version-file : package.json
17
- - uses : bahmutov/npm-install@v1
17
+ cache : " npm"
18
+ - run : npm ci
18
19
19
20
lint :
20
21
name : ⬣ ESLint
25
26
- uses : actions/setup-node@v4
26
27
with :
27
28
node-version-file : package.json
28
- - uses : bahmutov/npm-install@v1
29
+ cache : " npm"
30
+ - run : npm ci
29
31
- name : ⬣ ESLint
30
32
run : npm run lint:check
31
33
38
40
- uses : actions/setup-node@v4
39
41
with :
40
42
node-version-file : package.json
43
+ cache : " npm"
41
44
- name : 🛡️ Audit
42
45
run : npm audit --audit-level=high
43
46
50
53
- uses : actions/setup-node@v4
51
54
with :
52
55
node-version-file : package.json
53
- - uses : bahmutov/npm-install@v1
56
+ cache : " npm"
57
+ - run : npm ci
54
58
- name : 🔬 Format
55
59
run : npm run format:check
56
60
63
67
- uses : actions/setup-node@v4
64
68
with :
65
69
node-version-file : package.json
66
- - uses : bahmutov/npm-install@v1
70
+ cache : " npm"
71
+ - run : npm ci
67
72
- name : 🈸 Spellcheck
68
73
run : npm run spell:check
69
74
76
81
- uses : actions/setup-node@v4
77
82
with :
78
83
node-version-file : package.json
79
- - uses : bahmutov/npm-install@v1
84
+ cache : " npm"
85
+ - run : npm ci
80
86
- name : ʦ Typecheck
81
87
run : npm run type:check
82
88
89
95
- uses : actions/setup-node@v4
90
96
with :
91
97
node-version-file : package.json
92
- - uses : bahmutov/npm-install@v1
98
+ cache : " npm"
99
+ - run : npm ci
93
100
- name : ⚡ Tests
94
101
run : npm run test:coverage
95
102
@@ -102,7 +109,8 @@ jobs:
102
109
- uses : actions/setup-node@v4
103
110
with :
104
111
node-version-file : package.json
105
- - uses : bahmutov/npm-install@v1
112
+ cache : " npm"
113
+ - run : npm ci
106
114
- name : ⚡ Tests
107
115
run : npm run test:setup
108
116
@@ -115,7 +123,8 @@ jobs:
115
123
- uses : actions/setup-node@v4
116
124
with :
117
125
node-version-file : package.json
118
- - uses : bahmutov/npm-install@v1
126
+ cache : " npm"
127
+ - run : npm ci
119
128
- name : 🔨 Build
120
129
run : npm run build
121
130
- name : 🚀 Release
0 commit comments