File tree Expand file tree Collapse file tree 3 files changed +21
-1
lines changed
packages/lit-dev-tools-cjs Expand file tree Collapse file tree 3 files changed +21
-1
lines changed Original file line number Diff line number Diff line change
1
+ name : Unit tests
2
+
3
+ on : [push, pull_request]
4
+
5
+ jobs :
6
+ unit-tests :
7
+ runs-on : ubuntu-latest
8
+ steps :
9
+ - uses : actions/checkout@v2
10
+ - uses : actions/setup-node@v2
11
+ with :
12
+ node-version : 16
13
+ cache : npm
14
+ cache-dependency-path : ' **/package-lock.json'
15
+
16
+ - run : npm ci
17
+ - run : npm run bootstrap
18
+ - run : npm run build
19
+ - run : npm run test:unit
Original file line number Diff line number Diff line change 14
14
"format:check" : " prettier . --check" ,
15
15
"nuke" : " rm -rf node_modules && npm ci && lerna exec 'rm -rf node_modules' && lerna bootstrap --ci" ,
16
16
"upgrade" : " rm -rf node_modules package-lock.json && npm install && lerna exec 'rm -rf node_modules package-lock.json' && lerna bootstrap" ,
17
+ "test:unit" : " lerna run test --scope lit-dev-tools-cjs --scope lit-dev-tools-esm" ,
17
18
"test:integration" : " lerna run test:integration" ,
18
19
"test:integration:update-golden-screenshots" : " lerna run test:integration:update-golden-screenshots" ,
19
20
"test:links:redirects" : " lerna run test:links:redirects" ,
Original file line number Diff line number Diff line change 8
8
"scripts" : {
9
9
"build" : " npm run build:ts" ,
10
10
"build:ts" : " ../../node_modules/.bin/tsc" ,
11
- "test" : " npm run build && uvu ./lib \" .spec.js$\" "
11
+ "test" : " uvu ./lib \" .spec.js$\" "
12
12
},
13
13
"dependencies" : {
14
14
"@types/jsdom" : " ^16.2.13" ,
You can’t perform that action at this time.
0 commit comments