33 lines
712 B
YAML
33 lines
712 B
YAML
name: Validate_Vendors
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
- patch-release
|
|
paths:
|
|
- "package.json"
|
|
pull_request:
|
|
paths:
|
|
- "package.json"
|
|
|
|
jobs:
|
|
validate-vendor-versions:
|
|
name: Validate Vendor Versions
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v3
|
|
|
|
- name: Setup Node.js
|
|
uses: actions/setup-node@v3
|
|
with:
|
|
node-version: "14"
|
|
cache: "yarn"
|
|
|
|
- name: Install Dependencies
|
|
run: yarn install --frozen-lockfile
|
|
|
|
- name: Validate Vendors
|
|
run: yarn run vendors:bundle && echo "Listing changed files:" && git diff --name-only --exit-code && echo "No files changed."
|