File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : test
2+
3+ on :
4+ push :
5+ branches :
6+ - main
7+ pull_request :
8+
9+ jobs :
10+ lint :
11+ runs-on : ubuntu-latest
12+ steps :
13+ # https://github.com/actions/checkout/releases/tag/v6.0.3
14+ - uses : actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10
15+ # https://github.com/actions/setup-node/releases/tag/v6.4.0
16+ - uses : actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e
17+ with :
18+ node-version : 24
19+ - run : yarn install --frozen-lockfile
20+ - run : yarn lint
21+
22+ test :
23+ runs-on : ubuntu-latest
24+ strategy :
25+ matrix :
26+ node-version : [8, 10, 12, 24]
27+ steps :
28+ # https://github.com/actions/checkout/releases/tag/v6.0.3
29+ - uses : actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10
30+ # https://github.com/actions/setup-node/releases/tag/v6.4.0
31+ - uses : actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e
32+ with :
33+ node-version : ${{ matrix.node-version }}
34+ - run : yarn install --frozen-lockfile
35+ - run : yarn test
Load diff This file was deleted.
Original file line number Diff line number Diff line change 11# postcss-value-parser
22
3- [ ![ Travis CI] ( https://travis-ci.org/TrySound/postcss-value-parser.svg )] ( https://travis-ci.org/TrySound/postcss-value-parser )
4-
53Transforms CSS declaration values and at-rule parameters into a tree of nodes, and provides a simple traversal API.
64
75## Usage
Original file line number Diff line number Diff line change 88 ],
99 "devDependencies" : {
1010 "eslint" : " ^5.16.0" ,
11- "husky" : " ^2.3.0" ,
12- "lint-staged" : " ^8.1.7" ,
1311 "prettier" : " ^1.17.1" ,
1412 "tap-spec" : " ^5.0.0" ,
1513 "tape" : " ^4.10.2"
1614 },
1715 "scripts" : {
18- "lint:prettier" : " prettier \" **/*.js\" \" **/*.ts\" --list-different" ,
19- "lint:js" : " eslint . --cache" ,
20- "lint" : " yarn lint:js && yarn lint:prettier" ,
21- "pretest" : " yarn lint" ,
16+ "format" : " prettier --write \" **/*.{js,ts}\" " ,
17+ "lint" : " eslint ." ,
2218 "test" : " tape test/*.js | tap-spec"
2319 },
20+ "engines" : {
21+ "node" : " >= 8"
22+ },
2423 "eslintConfig" : {
2524 "env" : {
2625 "es6" : true ,
2726 "node" : true
2827 },
2928 "extends" : " eslint:recommended"
3029 },
31- "lint-staged" : {
32- "*.js" : [
33- " eslint" ,
34- " prettier --write" ,
35- " git add"
36- ]
37- },
38- "husky" : {
39- "hooks" : {
40- "pre-commit" : " lint-staged"
41- }
42- },
4330 "author" : " Bogdan Chadkin <trysound@yandex.ru>" ,
4431 "license" : " MIT" ,
4532 "homepage" : " https://github.com/TrySound/postcss-value-parser" ,
You can’t perform that action at this time.
0 commit comments