mirror of
https://github.com/peaceiris/actions-hugo.git
synced 2026-01-25 04:12:17 +01:00
gha: update test workflow
This commit is contained in:
9
.github/workflows/test.yml
vendored
9
.github/workflows/test.yml
vendored
@@ -1,17 +1,18 @@
|
|||||||
name: "Run JavaScript Action"
|
name: "Test"
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- 'releases/*' # only run in release distribution branches
|
- 'migrate-javascript-action'
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
test:
|
test:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-18.04
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v1
|
- uses: actions/checkout@v1
|
||||||
|
|
||||||
- run: npm ci
|
- run: npm ci
|
||||||
- run: npm test
|
- run: npm test
|
||||||
- uses: actions/javascript-action@releases/v1
|
- uses: peaceiris/actions-hugo@migrate-javascript-action
|
||||||
with:
|
with:
|
||||||
milliseconds: 1000
|
milliseconds: 1000
|
||||||
|
|||||||
Reference in New Issue
Block a user