abapGit/.github/workflows/test.yml
Lars Hvam 89507dc971
actions: build and test, run on all pull_request events (#4940)
changes actions to run on all push and pull request events

been having trouble with actions not running, this might solve it, rolls back to old setup
2021-09-14 16:16:07 +02:00

29 lines
512 B
YAML

name: test
on:
push:
pull_request:
jobs:
unit:
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
- name: npm run unit
run: |
npm install
npm run unit
integration:
needs: unit
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
- name: npm run integration
run: |
npm install
npm run integration