mirror of
https://github.com/abapGit/abapGit.git
synced 2025-05-03 21:37:26 +08:00

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
29 lines
512 B
YAML
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
|