Skip to content

Commit

Permalink
chore: address review
Browse files Browse the repository at this point in the history
  • Loading branch information
bcoe committed Apr 16, 2020
1 parent e6f569d commit 9160b67
Show file tree
Hide file tree
Showing 3 changed files with 261 additions and 5 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,21 +20,27 @@ jobs:
- run: npm test
integration-test:
runs-on: ubuntu-latest
strategy:
matrix:
node: [10]
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: 10
node-version: ${{ matrix.node }}
- run: npm install
- run: npm run get-data
- run: npm run get-narratives
- run: npm run integration-test:ci
lint:
runs-on: ubuntu-latest
strategy:
matrix:
node: [10]
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: 10
node-version: ${{ matrix.node }}
- run: npm install
- run: npm run lint
250 changes: 250 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,14 +24,14 @@
"build": "node auspice.js build --verbose",
"prepare": "npm run build",
"lint": "eslint src",
"fix": "eslint --fix src",
"lint:fix": "eslint --fix src",
"get-data": "env bash ./scripts/get-data.sh",
"get-narratives": "env bash ./scripts/get-narratives.sh",
"heroku-postbuild": "npm run build && npm run get-data && npm run get-narratives",
"rebuild-docker-image": "env bash ./scripts/rebuild-docker-image.sh",
"gzip-and-upload": "env bash ./scripts/gzip-and-upload.sh",
"build-docs": "echo 'see ./docs-src/README.md'",
"test": "jest",
"test": "jest test/*.js",
"integration-test": "NODE_ENV=test ENV=dev jest --config puppeteer.config.js",
"integration-test:ci": "start-server-and-test server http://localhost:4000 integration-test",
"diff-lang": "./scripts/diff-lang.js"
Expand Down Expand Up @@ -137,7 +137,7 @@
"jest": "^25.1.0",
"jest-puppeteer": "^4.4.0",
"puppeteer": "^2.1.1",
"start-server-and-test": "^1.10.11",
"start-server-and-test": "^1.11.0",
"webpack-bundle-analyzer": "^3.3.2"
}
}

0 comments on commit 9160b67

Please sign in to comment.