2019-09-11 05:44:28 +00:00
|
|
|
name: "Run JavaScript Action"
|
2019-09-11 06:54:14 +00:00
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches:
|
|
|
|
- 'releases/*' # only run in release distribution branches
|
2019-09-11 05:44:28 +00:00
|
|
|
|
|
|
|
jobs:
|
|
|
|
test:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v1
|
|
|
|
|
|
|
|
- run: npm ci
|
|
|
|
- run: npm test
|
2019-09-11 06:54:14 +00:00
|
|
|
- uses: actions/javascript-action@releases/v1
|
2019-09-11 05:44:28 +00:00
|
|
|
with:
|
|
|
|
milliseconds: 1000
|