File tree Expand file tree Collapse file tree 4 files changed +15
-19
lines changed Expand file tree Collapse file tree 4 files changed +15
-19
lines changed Original file line number Diff line number Diff line change @@ -40,18 +40,20 @@ jobs:
40
40
github-token : ${{ secrets.github_token }}
41
41
42
42
ubuntu :
43
- needs : [lint, get-lts]
43
+ needs : [get-lts]
44
44
runs-on : ubuntu-latest
45
45
strategy :
46
46
matrix :
47
- node-version : ${{ fromJson(needs.get-lts.outputs.active) }}
47
+ node : ${{ fromJson(needs.get-lts.outputs.active) }}
48
+ include :
49
+ - node : 10
48
50
fail-fast : false
49
51
steps :
50
52
- uses : actions/checkout@v4
51
53
- uses : actions/setup-node@v4
52
- name : Node ${{ matrix.node-version }} on ubuntu-latest
54
+ name : Node ${{ matrix.node }} on ubuntu-latest
53
55
with :
54
- node-version : ${{ matrix.node-version }}
56
+ node-version : ${{ matrix.node }}
55
57
- run : npm install
56
58
- run : npm run test
57
59
@@ -60,14 +62,14 @@ jobs:
60
62
runs-on : windows-latest
61
63
strategy :
62
64
matrix :
63
- node-version : ${{ fromJson(needs.get-lts.outputs.active) }}
65
+ node : ${{ fromJson(needs.get-lts.outputs.active) }}
64
66
fail-fast : false
65
67
steps :
66
68
- uses : actions/checkout@v4
67
69
- uses : actions/setup-node@v4
68
- name : Node.js ${{ matrix.node-version }} on windows-latest
70
+ name : Node.js ${{ matrix.node }} on windows-latest
69
71
with :
70
- node-version : ${{ matrix.node-version }}
72
+ node-version : ${{ matrix.node }}
71
73
- run : npm install
72
74
- run : npm run test
73
75
Original file line number Diff line number Diff line change 5
5
* ci: automatically test on ubuntu & windows
6
6
* ci: automatically test on the LTS versions of node.js
7
7
* deps: remove mocha & eslint, they get auto-installed by npx when needed
8
-
8
+ * doc(README): update CI badge URL, remove broken badges
9
9
10
10
## 1.1.3
11
11
Original file line number Diff line number Diff line change 1
1
# sprintf-js
2
2
3
- [ ![ Build Status] [ travisci -image]] [ travisci -url] [ ![ NPM Version] [ npm-image ]] [ npm-url ] [ ![ Dependency Status ] [ dependencies-image ]] [ dependencies-url ] [ ![ devDependency Status ] [ dev-dependencies-image ]] [ dev-dependencies -url]
3
+ [ ![ Build Status] [ ci -image]] [ ci -url] [ ![ NPM Version] [ npm-image ]] [ npm-url ]
4
4
5
- [ travisci -image] : https://travis-ci.org /alexei/sprintf.js. svg?branch=master
6
- [ travisci -url] : https://travis-ci.org /alexei/sprintf.js
5
+ [ ci -image] : https://github.com /alexei/sprintf.js/actions/workflows/ci.yml/badge. svg
6
+ [ ci -url] : https://github.com /alexei/sprintf.js/actions/workflows/ci.yml
7
7
8
8
[ npm-image ] : https://badge.fury.io/js/sprintf-js.svg
9
9
[ npm-url ] : https://badge.fury.io/js/sprintf-js
10
10
11
- [ dependencies-image ] : https://david-dm.org/alexei/sprintf.js.svg
12
- [ dependencies-url ] : https://david-dm.org/alexei/sprintf.js
13
-
14
- [ dev-dependencies-image ] : https://david-dm.org/alexei/sprintf.js/dev-status.svg
15
- [ dev-dependencies-url ] : https://david-dm.org/alexei/sprintf.js#info=devDependencies
16
-
17
11
** sprintf-js** is a complete open source JavaScript ` sprintf ` implementation for the ** browser** and ** Node.js** .
18
12
19
13
** Note: as of v1.1.1 you might need some polyfills for older environments. See [ Support] ( #support ) section below.**
Original file line number Diff line number Diff line change 7
7
"scripts" : {
8
8
"test" : " npx mocha test/*.js" ,
9
9
"pretest" : " npm run lint" ,
10
- "lint" : " npx eslint@^8 ." ,
11
- "lint:fix" : " npx eslint@^8 --fix ."
10
+ "lint" : " npx eslint@^7 ." ,
11
+ "lint:fix" : " npx eslint@^7 --fix ."
12
12
},
13
13
"repository" : {
14
14
"type" : " git" ,
You can’t perform that action at this time.
0 commit comments