Skip to content

[do not merge] Image link checker test 1 #6

[do not merge] Image link checker test 1

[do not merge] Image link checker test 1 #6

Workflow file for this run

name: Tests
on: [pull_request]
jobs:
checkChangedFiles:
runs-on: ubuntu-latest
outputs:
files: ${{ steps.files.outputs.added_modified }}
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: 18
- run: npm ci
- id: files
uses: Ana06/[email protected]
with:
format: 'csv'
filter: |
*.md
*.mdx
- run: npm run test -- --filesToCheck=${{ steps.files.outputs.added_modified }}
test:
runs-on: ubuntu-latest
needs: checkChangedFiles
if: ${{ needs.checkChangedFiles.outputs.files != '' }}
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: 18
- run: npm ci
- run: npm run test -- --filesToCheck=${{ needs.checkChangedFiles.outputs.files }}