File tree 4 files changed +57
-23
lines changed
4 files changed +57
-23
lines changed Original file line number Diff line number Diff line change
1
+ name : ci
2
+
3
+ on :
4
+ - push
5
+ - pull_request
6
+
7
+ jobs :
8
+
9
+ build :
10
+ name : Continuous integration (build)
11
+ runs-on : ubuntu-latest
12
+ steps :
13
+ - name : Checkout 🛎️
14
+ uses : actions/checkout@v4
15
+
16
+ - name : Install 📦
17
+ uses : bahmutov/npm-install@v1
18
+ with :
19
+ install-command : yarn --frozen-lockfile --ignore-scripts
20
+ useRollingCache : true
21
+
22
+ - name : Build 🏗️
23
+ run : yarn build
24
+
25
+ - name : Archive build 💽
26
+ uses : actions/upload-artifact@v3
27
+ with :
28
+ name : dist
29
+ path : dist
30
+ retention-days : 1
31
+
32
+ test :
33
+ needs : ["build"]
34
+ name : Continuous integration (tests)
35
+ runs-on : ubuntu-latest
36
+ strategy :
37
+ matrix :
38
+ bundle : ["modern", "module", "cjs"]
39
+ steps :
40
+ - name : Checkout 🛎️
41
+ uses : actions/checkout@v4
42
+
43
+ - name : Install 📦
44
+ uses : bahmutov/npm-install@v1
45
+ with :
46
+ install-command : yarn --frozen-lockfile --ignore-scripts
47
+ useRollingCache : true
48
+
49
+ - name : Load build 💽
50
+ uses : actions/download-artifact@v3
51
+ with :
52
+ name : dist
53
+ path : dist
54
+
55
+ - name : Test 🔬
56
+ run : yarn test:${{ matrix.bundle }}
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ Parent is [js-sorting](https://github.com/make-github-pseudonymous-again/js-sort
7
7
8
8
[ ![ License] ( https://img.shields.io/github/license/integer-sorting/radix-sort.svg )] ( https://raw.githubusercontent.com/integer-sorting/radix-sort/main/LICENSE )
9
9
[ ![ Version] ( https://img.shields.io/npm/v/@integer-sorting/radix-sort.svg )] ( https://www.npmjs.org/package/@integer-sorting/radix-sort )
10
- [ ![ Tests] ( https://img.shields.io/github/workflow/status/integer-sorting/radix-sort/ci:cover ?event=push&label=tests )] ( https://github.com/integer-sorting/radix-sort/actions/workflows/ci:cover .yml?query=branch:main )
10
+ [ ![ Tests] ( https://img.shields.io/github/workflow/status/integer-sorting/radix-sort/ci?event=push&label=tests )] ( https://github.com/integer-sorting/radix-sort/actions/workflows/ci.yml?query=branch:main )
11
11
[ ![ Dependencies] ( https://img.shields.io/librariesio/github/integer-sorting/radix-sort.svg )] ( https://github.com/integer-sorting/radix-sort/network/dependencies )
12
12
[ ![ GitHub issues] ( https://img.shields.io/github/issues/integer-sorting/radix-sort.svg )] ( https://github.com/integer-sorting/radix-sort/issues )
13
13
[ ![ Downloads] ( https://img.shields.io/npm/dm/@integer-sorting/radix-sort.svg )] ( https://www.npmjs.org/package/@integer-sorting/radix-sort )
Original file line number Diff line number Diff line change 51
51
"build" : " NODE_ENV=production microbundle" ,
52
52
"build-docs" : " esdoc" ,
53
53
"build-gh-pages" : " npm run build-docs" ,
54
- "ci:build" : " npm run build" ,
55
- "ci:test" : " npm run lint-config && npm run lint && npm run cover" ,
56
54
"commit-msg" : " commitlint --edit" ,
57
55
"cover" : " NODE_ENV=cover c8 --all --src src --reporter lcov --reporter text-summary --reporter text npm test" ,
58
56
"debug" : " NODE_ENV=debug npm run test -- -st --fail-fast" ,
You can’t perform that action at this time.
0 commit comments