mirror of
https://github.com/abapGit/abapGit.git
synced 2025-05-03 21:37:26 +08:00
![dependabot[bot]](/assets/img/avatar_default.png)
Bumps [actions/setup-node](https://github.com/actions/setup-node) from 2 to 3. - [Release notes](https://github.com/actions/setup-node/releases) - [Commits](https://github.com/actions/setup-node/compare/v2...v3) --- updated-dependencies: - dependency-name: actions/setup-node dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
47 lines
965 B
YAML
47 lines
965 B
YAML
name: test-pr
|
|
|
|
on:
|
|
pull_request:
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
lint-and-merge:
|
|
runs-on: ubuntu-latest
|
|
timeout-minutes: 10
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
- uses: actions/setup-node@v3
|
|
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
|
|
|
|
unit-tests:
|
|
runs-on: ubuntu-latest
|
|
timeout-minutes: 10
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
- uses: actions/setup-node@v3
|
|
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
|