File tree Expand file tree Collapse file tree 4 files changed +10
-10
lines changed Expand file tree Collapse file tree 4 files changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -16,17 +16,20 @@ jobs:
16
16
node-version-file : .nvmrc
17
17
18
18
- name : Install dependencies
19
- run : npm install --prefer-offline
19
+ run : npm ci --prefer-offline
20
20
21
- - name : Lint JavaScript files
21
+ - name : Run ESLint
22
22
run : npm run lint
23
23
24
- - name : Lint TypeScript declaration files
24
+ - name : Type check
25
25
run : npm run lint:dts
26
26
27
- - name : Run tests
27
+ - name : Run unit tests
28
28
run : npm run test:ci
29
29
30
+ - name : Codecov
31
+ uses : codecov/codecov-action@v3
32
+
30
33
- name : Run module tests
31
34
run : npm run test:esm
32
35
35
38
36
39
- name : Run benchmark
37
40
run : npm run benchmark
38
-
39
- - name : Codecov
40
- uses : codecov/codecov-action@v3
Original file line number Diff line number Diff line change 18
18
node-version-file : .nvmrc
19
19
20
20
- name : Install dependencies
21
- run : npm install --prefer-offline
21
+ run : npm ci --prefer-offline
22
22
23
23
- name : Lint commit message
24
24
run : npx commitlint --from=HEAD~1
Original file line number Diff line number Diff line change 32
32
registry-url : https://registry.npmjs.org
33
33
34
34
- name : Install dependencies
35
- run : npm install
35
+ run : npm ci
36
36
37
37
- name : Publish
38
38
run : npm publish
Original file line number Diff line number Diff line change 16
16
- name : Size Limit
17
17
uses : andresz1/size-limit-action@v1
18
18
with :
19
- github_token : ${{ secrets.GITHUB_TOKEN }}
19
+ github_token : ${{ github.token }}
You can’t perform that action at this time.
0 commit comments