Skip to content

ci: bump JamesIves/github-pages-deploy-action from 4.1.1 to 4.9.0 in the actions-minor-patch group across 1 directory #1991

ci: bump JamesIves/github-pages-deploy-action from 4.1.1 to 4.9.0 in the actions-minor-patch group across 1 directory

ci: bump JamesIves/github-pages-deploy-action from 4.1.1 to 4.9.0 in the actions-minor-patch group across 1 directory #1991

Workflow file for this run

name: check
on:
workflow_dispatch:
pull_request:
types: [opened, synchronize, reopened, edited]
permissions:
contents: read
jobs:
main:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4.4.0
- uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
with:
node-version: '22.12.0'
cache: 'npm'
- name: changed files
id: files
run: |
git fetch origin master:master
ANY_CHANGED=false
ALL_CHANGED_FILES=$(git diff --name-only master -- data/ | tr '\n' ' ')
if [ -n "${ALL_CHANGED_FILES}" ]; then
ANY_CHANGED=true
fi
echo "all_changed_files=$ALL_CHANGED_FILES" >> "$GITHUB_OUTPUT"
echo "any_changed=$ANY_CHANGED" >> "$GITHUB_OUTPUT"
- name: install dependencies
if: steps.files.outputs.any_changed == 'true'
run: npm install
- name: check if files are crlf
uses: kforeverisback/check-crlf-extended@bb2dea99a7da756525ede285d33811e5552d3ceb # v2
continue-on-error: false
with:
directory: ./data
line_ending_type: 'CRLF'
include_pattern: '*.csv'
pattern_type: 'shell_glob'
- name: validate
if: steps.files.outputs.any_changed == 'true'
run: npm run db:validate