File tree 7 files changed +487
-5161
lines changed
7 files changed +487
-5161
lines changed Original file line number Diff line number Diff line change 1
- # This is a basic workflow to help you get started with Actions
2
-
3
1
name : Tests
4
2
5
- # Controls when the action will run.
6
3
on :
7
- # Triggers the workflow on push or pull request events but only for the master branch
8
4
push :
9
- branches : [ master ]
5
+ branches :
6
+ - master
7
+ - main
10
8
pull_request :
11
- branches : [ master ]
12
-
13
- # Allows you to run this workflow manually from the Actions tab
14
- workflow_dispatch :
9
+ branches :
10
+ - master
11
+ - main
15
12
16
- # A workflow run is made up of one or more jobs that can run sequentially or in parallel
17
13
jobs :
18
- # This workflow contains a single job called "build"
19
14
test :
20
- # The type of runner that the job will run on
21
15
runs-on : ubuntu-latest
22
16
23
- # Steps represent a sequence of tasks that will be executed as part of the job
24
17
steps :
25
18
- uses : actions/checkout@v2
26
19
- uses : actions/setup-node@v2-beta
32
25
run : yarn --frozen-lockfile
33
26
34
27
- name : Run Tests
35
- run : |
36
- npm test --prefix packages/analyzer
37
- npm test --prefix packages/to-markdown
28
+ run : yarn test
Original file line number Diff line number Diff line change 2
2
"name" : " @custom-elements-manifest/root" ,
3
3
"private" : true ,
4
4
"license" : " MIT" ,
5
+ "type" : " module" ,
5
6
"repository" : {
6
7
"type" : " git" ,
7
8
"url" : " https://github.com/open-wc/custom-elements-manifest.git"
8
9
},
9
- "scripts" : {},
10
+ "scripts" : {
11
+ "test" : " yarn workspaces run test"
12
+ },
10
13
"dependencies" : {},
11
- "devDependencies" : {},
14
+ "devDependencies" : {
15
+ "@rollup/plugin-commonjs" : " ^19.0.0" ,
16
+ "@rollup/plugin-node-resolve" : " ^13.0.0" ,
17
+ "@rollup/plugin-replace" : " ^2.4.2" ,
18
+ "@small-tech/esm-tape-runner" : " ^1.0.3" ,
19
+ "custom-elements-manifest" : " ^1.0.0" ,
20
+ "esbuild" : " ^0.12.15" ,
21
+ "nodemon" : " ^2.0.4" ,
22
+ "npm-run-all" : " ^4.1.5" ,
23
+ "rollup" : " ^2.50.5" ,
24
+ "rollup-plugin-terser" : " ^7.0.2" ,
25
+ "tap-spec" : " ^5.0.0" ,
26
+ "tape" : " ^5.2.2" ,
27
+ "uvu" : " ^0.5.1" ,
28
+ "watchexec-bin" : " ^1.0.0"
29
+ },
12
30
"workspaces" : [
13
31
" packages/*"
14
32
]
You can’t perform that action at this time.
0 commit comments