Skip to content

Commit 512c74a

Browse files
committed
Update node.yml in CI
1 parent d333437 commit 512c74a

2 files changed

Lines changed: 21 additions & 24 deletions

File tree

.github/workflows/node.js.yml

Lines changed: 18 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -10,23 +10,23 @@ on:
1010
branches: [ master ]
1111

1212
jobs:
13-
test_browser:
13+
# test_browser:
1414

15-
runs-on: ubuntu-latest
15+
# runs-on: ubuntu-latest
1616

17-
strategy:
18-
matrix:
19-
node-version: [10.x, 12.x, 14.x]
17+
# strategy:
18+
# matrix:
19+
# node-version: [10.x, 12.x, 14.x]
2020

21-
steps:
22-
- uses: actions/checkout@v2
23-
- name: Use Node.js ${{ matrix.node-version }}
24-
uses: actions/setup-node@v1
25-
with:
26-
node-version: ${{ matrix.node-version }}
27-
- run: cd danfojs-browser
28-
- run: yarn
29-
- run: yarn test
21+
# steps:
22+
# - uses: actions/checkout@v2
23+
# - name: Use Node.js ${{ matrix.node-version }}
24+
# uses: actions/setup-node@v1
25+
# with:
26+
# node-version: ${{ matrix.node-version }}
27+
# - run: cd danfojs-browser
28+
# - run: yarn
29+
# - run: yarn test:browser
3030

3131
test_node:
3232

@@ -42,6 +42,7 @@ jobs:
4242
uses: actions/setup-node@v1
4343
with:
4444
node-version: ${{ matrix.node-version }}
45-
- run: cd danfojs-node
46-
- run: yarn
47-
- run: yarn test
45+
working-directory: danfojs-node
46+
- run: |
47+
yarn
48+
yarn test

package.json

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,7 @@
22
"name": "danfo",
33
"private": true,
44
"workspaces": [
5-
"danfojs-node",
6-
"danfojs-browser"
7-
],
8-
"scripts": {
9-
"test:browser": "yarn run bundle && karma start --single-run --browsers ChromeHeadless karma.conf.js",
10-
"test:node": "yarn run build && nyc mocha --require @babel/register tests/*"
11-
}
5+
"danfojs-node/**",
6+
"danfojs-browser/**"
7+
]
128
}

0 commit comments

Comments
 (0)