mirror of
https://github.com/jlengrand/sample-node-api.git
synced 2026-03-10 08:41:23 +00:00
Merge pull request #27 from zowe/staticDependencies
adding the job to validate the static dependencies
This commit is contained in:
11
.github/workflows/build_test.yml
vendored
11
.github/workflows/build_test.yml
vendored
@@ -24,10 +24,19 @@ jobs:
|
|||||||
user: ${{ github.actor }}
|
user: ${{ github.actor }}
|
||||||
github-repo: ${{ github.repository }}
|
github-repo: ${{ github.repository }}
|
||||||
github-token: ${{ secrets.GITHUB_TOKEN }}
|
github-token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
||||||
|
validate-package-json:
|
||||||
|
needs: check-permission
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
|
||||||
|
- name: Validate package.json
|
||||||
|
uses: zowe-actions/shared-actions/validate-package-json@main
|
||||||
|
|
||||||
build-test:
|
build-test:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
needs: check-permission
|
needs: validate-package-json
|
||||||
steps:
|
steps:
|
||||||
- name: '[Prep 1] Checkout'
|
- name: '[Prep 1] Checkout'
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
|
|||||||
Reference in New Issue
Block a user