Skip to content

Commit

Permalink
test push
Browse files Browse the repository at this point in the history
  • Loading branch information
dominicfraser committed Oct 3, 2023
1 parent 6e60e50 commit 22d0483
Showing 1 changed file with 16 additions and 4 deletions.
20 changes: 16 additions & 4 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,23 @@ jobs:
node-version-file: '.nvmrc'
registry-url: 'https://registry.npmjs.org'

- name: Check changed files
id: changed-files
uses: tj-actions/changed-files@v38.2.2
with:
files: |
docs/**
- name: Check if all changes are in the docs folder
id: is_docs_only
run: echo "docs_only=${{ steps.changed-files-specific.outputs.only_modified == 'true' }}" >> "$GITHUB_OUTPUT"

- name: Install deps
if: ${{ steps.changed-files.outputs.only_modified == 'true' }}
run: npm ci

- name: Lint
run: npm run lint
# - name: Lint
# run: npm run lint

- name: Test
run: npm run test
# - name: Test
# run: npm run test

0 comments on commit 22d0483

Please sign in to comment.