typescript-action/.github/workflows/test.yml

23 lines
522 B
YAML
Raw Normal View History

name: "Test typescript-action"
on: # rebuild any PRs and main branch changes
pull_request:
2019-09-21 12:56:30 +00:00
push:
branches:
- master
- 'releases/*'
2019-09-21 12:56:30 +00:00
jobs:
build: # make sure build/ci work properly
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- run: |
npm install
npm run all
test: # make sure the action works on a clean machine without building
2019-09-21 12:56:30 +00:00
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
2019-09-21 14:33:30 +00:00
- uses: ./
2019-09-21 12:56:30 +00:00
with:
milliseconds: 1000