You've already forked hugo-extended
mirror of
https://github.com/jakejarvis/hugo-extended.git
synced 2025-09-18 15:15:32 -04:00
run tests on all OSes
This commit is contained in:
14
.github/workflows/publish.yml
vendored
14
.github/workflows/publish.yml
vendored
@@ -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 }}
|
||||
|
Reference in New Issue
Block a user