Skip to content

Commit

Permalink
Update build_test.yml
Browse files Browse the repository at this point in the history
Signed-off-by: 1000TurquoisePogs <[email protected]>
  • Loading branch information
1000TurquoisePogs authored Aug 27, 2024
1 parent 91d46b3 commit dcae0a4
Showing 1 changed file with 13 additions and 10 deletions.
23 changes: 13 additions & 10 deletions .github/workflows/build_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,18 +25,21 @@ jobs:
with:
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
# Requirement to prevent latest libraries from being used to prevent against package/npm hijacking is in direct conflict
# with requirement to be on the latest version of packages for major release. I guess whoever complains more wins.
#
# 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:
runs-on: ubuntu-latest
needs: validate-package-json
# needs: validate-package-json
steps:
- name: '[Prep 1] Checkout'
uses: actions/checkout@v2
Expand All @@ -62,7 +65,7 @@ jobs:
uses: zowe-actions/shared-actions/prepare-workflow@main

- name: '[Prep 5] Setup Node'
uses: actions/setup-node@v2
uses: actions/setup-node@v3
with:
node-version: 16

Expand Down

0 comments on commit dcae0a4

Please sign in to comment.