Skip to content

Commit

Permalink
GitHub: Change JS workflow to include JSON in changed files check.
Browse files Browse the repository at this point in the history
  • Loading branch information
cpyle0819 committed Feb 29, 2024
1 parent 184c16e commit 9b5e21e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/javascript.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,18 +20,18 @@ jobs:
id: changed-files
uses: tj-actions/changed-files@v41
with:
files: "javascriptv3/**/*.{js,ts,jsx,tsx}"
files: "javascriptv3/**/*.{js,ts,jsx,tsx,json}"
- name: Setup NodeJS
if: steps.changed-files.outputs.any_changed == 'true'
uses: actions/setup-node@v3
with:
node-version: "20.x"
- name: Install dependencies
if: steps.changed-files.outputs.any_changed == 'true'
run: npm i --prefix javascriptv3
- name: Validate package names
if: steps.changed-files.outputs.any_changed == 'true'
run: ./javascriptv3/github_scripts/validate_packages.sh
- name: Install dependencies
if: steps.changed-files.outputs.any_changed == 'true'
run: npm i --prefix javascriptv3
- name: Lint added and modified files
if: steps.changed-files.outputs.any_changed == 'true'
run: |
Expand Down

0 comments on commit 9b5e21e

Please sign in to comment.