mirror of
https://github.com/abapGit/abapGit.git
synced 2025-05-03 21:37:26 +08:00
43 lines
915 B
YAML
43 lines
915 B
YAML
name: test
|
|
|
|
on:
|
|
pull_request:
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
timeout-minutes: 10
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- uses: actions/setup-node@v2
|
|
with:
|
|
node-version: '16'
|
|
- name: npm install
|
|
run: |
|
|
npm install
|
|
npm run eslint
|
|
npm run merge
|
|
npm run merge.ci
|
|
- name: Upload build artifact
|
|
uses: actions/upload-artifact@main
|
|
with:
|
|
name: zabapgit_standalone.abap
|
|
path: ./zabapgit.abap
|
|
retention-days: 7
|
|
test:
|
|
runs-on: ubuntu-latest
|
|
timeout-minutes: 10
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- uses: actions/setup-node@v2
|
|
with:
|
|
node-version: '16'
|
|
- name: npm install
|
|
run: npm install
|
|
- name: npm run unit
|
|
run: npm run unit
|
|
- name: npm run coverage
|
|
run: npm run coverage
|
|
- name: npm run integration
|
|
run: npm run integration
|