Skip to content

Commit b671d42

Browse files
debug
1 parent 307215c commit b671d42

1 file changed

Lines changed: 6 additions & 13 deletions

File tree

.github/workflows/test-pr.yml

Lines changed: 6 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -34,24 +34,20 @@ jobs:
3434
docs/**/*.md
3535
docs/**/*.mdx
3636
37-
# Clone the doc repo to test
38-
cloneDocRepo:
37+
# Test the changed files
38+
test:
3939
runs-on: ubuntu-latest
40+
needs: [getChangedFiles]
41+
if: ${{ needs.getChangedFiles.outputs.files != '' }}
4042
steps:
41-
# Clone the repo and install dependencies
43+
# Clone the repo
4244
- uses: actions/checkout@v2
4345
- uses: actions/setup-node@v1
4446
with:
4547
node-version: 20
48+
# Dependencies may not be necessary
4649
# - run: npm ci
4750

48-
# Test the changed files
49-
test:
50-
runs-on: ubuntu-latest
51-
needs: [getChangedFiles, cloneDocRepo]
52-
if: ${{ needs.getChangedFiles.outputs.files != '' }}
53-
steps:
54-
5551
# Clone tests from https://gitlab.com/nomadic-labs/doclib
5652
# Uses https://github.com/marketplace/actions/any-clone-repo
5753
- name: Clone test repo
@@ -64,9 +60,6 @@ jobs:
6460
working-directory: ${{ env.TEST_REPO }}
6561
run : npm ci
6662

67-
- name: debug ls
68-
run: ls /home/runner/work/docs/docs
69-
7063
# Run tests
7164
- name: Run image link check
7265
working-directory: ${{ env.TEST_REPO }}

0 commit comments

Comments
 (0)