Skip to content

Commit

Permalink
FIX: npm publish workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
dwhieb committed Sep 29, 2019
1 parent 3880e4a commit 279c015
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,15 @@ jobs:

- name: install Node.js
uses: actions/setup-node@master
with:
registry-url: https://registry.npmjs.org/

- name: install dependencies
run: npm ci

- name: run tests
run: npm test

- name: publish
run: npm publish
env:
Expand Down
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,7 @@
"dlx-conc": "./concordance.js"
},
"scripts": {
"test": "node concordance.js -d test -o test/concordance.tsv -k little",
"prepublish": "npm test"
"test": "node concordance.js -d test -o test/concordance.tsv -k little"
},
"engines": {
"node": ">=12.0"
Expand Down

0 comments on commit 279c015

Please sign in to comment.