Skip to content

Commit ceed264

Browse files
author
Jack Zhao
committed
ui: setup github packages and upgrade dependencies
Summary: - Setup cypress on lib - Setup github actions to run lint/test/cypress/styleguide. - Upgrade dependencies (yarn.lock was changed, so versions need to be consistent). - Minor fixes due to version change. Test Plan: lint, flow, test, cypress, styleguide. Reviewers: nsawas, arinehouse, ecarrel, margi, lkong, O13 UI Common, O12 LIMS UI Reviewed By: ecarrel, O13 UI Common, O12 LIMS UI Maniphest Tasks: T8000 Differential Revision: https://phabricator.grailbio.com/D38345 fbshipit-source-id: 9dae411
1 parent 5f26b26 commit ceed264

5 files changed

Lines changed: 41 additions & 8 deletions

File tree

‎.github/workflows/lint.yml‎

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
name: Lint
2+
3+
on: [push]
4+
5+
jobs:
6+
lint:
7+
runs-on: ubuntu-latest
8+
steps:
9+
- uses: actions/checkout@v1
10+
- uses: actions/setup-node@v1
11+
with:
12+
node-version: 12
13+
- name: Install
14+
run: yarn --no-lock-file
15+
- name: Run lint
16+
run: yarn lint

‎.github/workflows/test.yml‎

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
name: Test
2+
3+
on: [push]
4+
5+
jobs:
6+
test:
7+
runs-on: ubuntu-latest
8+
steps:
9+
- uses: actions/checkout@v1
10+
- uses: actions/setup-node@v1
11+
with:
12+
node-version: 12
13+
- name: Install
14+
run: yarn --no-lock-file
15+
- name: Run test
16+
run: yarn test-all

‎.gitignore‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
coverage/
22
dist/
3+
node_modules/

‎package.json‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
"@babel/runtime": "^7.6.3",
3030
"csv-string": "^3.1.6",
3131
"fuzzy": "^0.1.3",
32-
"googleapis": "^43.0.0",
32+
"googleapis": "^44.0.0",
3333
"http-status-codes": "^1.3.2",
3434
"kcd-scripts": "^1.9.0",
3535
"lodash": "^4.17.15",
@@ -44,14 +44,14 @@
4444
"devDependencies": {
4545
"@babel/node": "^7.6.3",
4646
"@grailbio/eslint-config-grail": "^1.0.2",
47-
"flow-bin": "^0.109.0",
47+
"flow-bin": "^0.110.1",
4848
"flow-copy-source": "^2.0.8",
4949
"fs-extra": "^8.1.0",
50-
"husky": "^3.0.8",
50+
"husky": "^3.0.9",
5151
"jest-mock-console": "^1.0.0",
5252
"lint-staged": "^10.0.0-0",
5353
"mock-socket": "^9.0.2",
54-
"moment-timezone": "^0.5.26",
54+
"moment-timezone": "^0.5.27",
5555
"prettier": "^1.18.2"
5656
},
5757
"lint-staged": {

‎src/utils/api-utils/__snapshots__/api-util.spec.js.snap‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3840,10 +3840,6 @@ Object {
38403840
],
38413841
},
38423842
"output": Array [
3843-
Object {
3844-
"labels": Array [],
3845-
"name": "A00100-1",
3846-
},
38473843
Object {
38483844
"labels": Array [
38493845
Object {
@@ -3882,6 +3878,10 @@ Object {
38823878
],
38833879
"name": "bb",
38843880
},
3881+
Object {
3882+
"labels": Array [],
3883+
"name": "A00100-1",
3884+
},
38853885
Object {
38863886
"labels": Array [
38873887
Object {

0 commit comments

Comments
 (0)