Skip to content

Commit

Permalink
Fix more issues with docs and npm
Browse files Browse the repository at this point in the history
  • Loading branch information
victorquinn committed Aug 31, 2019
1 parent 0bc944d commit 4677aa1
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 8 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/docs.yml
Expand Up @@ -18,7 +18,8 @@ jobs:
node-version: 12
- env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- run: |
yarn
yarn docs
yarn docs-publish
- name: build and deploy
run: |
yarn
yarn docs
yarn docs:publish
7 changes: 4 additions & 3 deletions .github/workflows/npmpublish.yml
Expand Up @@ -16,9 +16,10 @@ jobs:
- uses: actions/setup-node@v1
with:
node-version: 12
- run: |
yarn
yarn run test
- name: install and test
run: |
yarn
yarn run test
publish-npm:
needs: build
Expand Down
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -37,7 +37,7 @@
"scripts": {
"coverage": "nyc npm test && nyc report --reporter=text-lcov --report-dir=./coverage > ./coverage/lcov.info",
"docs": "docpress build",
"docs-publish": "git-update-ghpages -e",
"docs:publish": "git-update-ghpages -e",
"lint": "eslint --ignore-path .gitignore chance.js",
"test": "gulp test"
},
Expand Down

0 comments on commit 4677aa1

Please sign in to comment.