2019-09-21 12:56:30 +00:00
|
|
|
name: "Test 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
|
2019-09-21 14:35:13 +00:00
|
|
|
- run: npm run build
|
2019-09-21 12:56:30 +00:00
|
|
|
- run: npm test
|
2019-09-21 14:33:30 +00:00
|
|
|
- uses: ./
|
2019-09-21 12:56:30 +00:00
|
|
|
with:
|
|
|
|
milliseconds: 1000
|