actions-hugo/.github/workflows/test.yml

17 lines
341 B
YAML

name: "Run JavaScript Action"
on:
push:
branches:
- 'releases/*' # only run in release distribution branches
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- run: npm ci
- run: npm test
- uses: actions/javascript-action@releases/v1
with:
milliseconds: 1000