Fix line ending #1060
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Run tests | |
| on: | |
| [push, pull_request] | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| name: Test new SVG files | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - name: Get changed files | |
| id: changed-files | |
| uses: tj-actions/changed-files@v47 | |
| with: | |
| files: | | |
| images/svg/**.svg | |
| - name: List all changed SVG files | |
| env: | |
| CHANGED_FILES: ${{ steps.changed-files.outputs.all_changed_files }} | |
| run: | | |
| for file in ${CHANGED_FILES}; do | |
| echo "$file was changed" | |
| done | |
| - uses: actions/setup-node@v6 | |
| - run: npm install | |
| - run: npm test | |
| env: | |
| CHANGED_FILES: ${{ steps.changed-files.outputs.all_changed_files }} |