File tree 3 files changed +45
-1
lines changed
3 files changed +45
-1
lines changed Original file line number Diff line number Diff line change
1
+ version : 2
2
+ updates :
3
+ - package-ecosystem : " npm"
4
+ directory : " /javascript-package/"
5
+ schedule :
6
+ interval : " weekly"
7
+ day : " monday"
8
+ time : " 02:00"
9
+ timezone : " America/New_York"
Original file line number Diff line number Diff line change
1
+ # This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node
2
+ # For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
3
+
4
+ name : JavaScript tests
5
+
6
+ on :
7
+ workflow_dispatch :
8
+ branches : [main]
9
+ pull_request :
10
+ branches : [main]
11
+ paths :
12
+ - " javascript-package/**"
13
+ - " .github/workflows/javascript-tests.yml"
14
+
15
+ jobs :
16
+ build :
17
+ runs-on : ubuntu-latest
18
+
19
+ strategy :
20
+ matrix :
21
+ node-version : [12.x, 14.x, 16.x]
22
+
23
+ steps :
24
+ - uses : actions/checkout@v2
25
+ - name : Use Node.js ${{ matrix.node-version }}
26
+ uses : actions/setup-node@v1
27
+ with :
28
+ node-version : ${{ matrix.node-version }}
29
+ - name : Run tests
30
+ run : |
31
+ cd javascript-package
32
+ npm ci
33
+ npm run build --if-present
34
+ npm test
Original file line number Diff line number Diff line change 1
1
# itscalledsoccer
2
2
3
- R and Python packages that wrap the American Soccer Analysis API.
3
+ R, Python and JavaScript packages that wrap the American Soccer Analysis API.
4
4
5
5
See the READMEs in the respective package directories for usage information:
6
6
7
7
- [ Python] ( python-package/README.md )
8
8
- [ R] ( R-package/README.md )
9
+ - [ JavaScript] ( javascript-package/README.md )
You can’t perform that action at this time.
0 commit comments