gha: update test workflow
This commit is contained in:
parent
8ffc478ba7
commit
df70d77351
1 changed files with 7 additions and 6 deletions
9
.github/workflows/test.yml
vendored
9
.github/workflows/test.yml
vendored
|
@ -1,17 +1,18 @@
|
|||
name: "Run JavaScript Action"
|
||||
name: "Test"
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- 'releases/*' # only run in release distribution branches
|
||||
- 'migrate-javascript-action'
|
||||
|
||||
jobs:
|
||||
test:
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: ubuntu-18.04
|
||||
steps:
|
||||
- uses: actions/checkout@v1
|
||||
|
||||
- run: npm ci
|
||||
- run: npm test
|
||||
- uses: actions/javascript-action@releases/v1
|
||||
- uses: peaceiris/actions-hugo@migrate-javascript-action
|
||||
with:
|
||||
milliseconds: 1000
|
||||
|
|
Loading…
Reference in a new issue