1
mirror of https://github.com/jakejarvis/hugo-extended.git synced 2026-06-24 11:35:58 -04:00

run tests on all OSes

This commit is contained in:
2020-01-31 08:44:20 -05:00
parent 4a2a55ef91
commit 8bcbc1a248
2 changed files with 23 additions and 11 deletions
+10 -4
View File
@@ -13,9 +13,15 @@ jobs:
with:
node-version: 12
registry-url: https://registry.npmjs.org/
- run: npm ci
- run: node cli.js env
- run: npm test
- run: npm publish --access public
- name: npm install and test
run: |
npm ci
npm test
env:
CI: true
- name: Check Hugo version
run: node cli.js env
- name: Publish!
run: npm publish --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}