Skip to content

Commit

Permalink
meta: fix linter to include docs/
Browse files Browse the repository at this point in the history
  • Loading branch information
aduh95 committed May 6, 2024
1 parent b6b2779 commit 4a27604
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/linters.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,17 @@ jobs:
- uses: actions/checkout@v4
with:
persist-credentials: false
- name: Extract Uppy version from yarn.lock
id: UPPY_VERSION_FROM_YARN_LOCK
run: |
grep 'resolution: "uppy@' yarn.lock | awk -F'"' '{ sub(/npm:/, ""); print "UPPY_REF=" $2 }' >> "$GITHUB_OUTPUT"
- name: Checkout docs from Uppy repo
uses: actions/checkout@v4
with:
repository: transloadit/uppy
ref: ${{ steps.UPPY_VERSION_FROM_YARN_LOCK.outputs.UPPY_REF }}
path: uppy
- run: mv uppy /tmp/uppy && ln -s /tmp/uppy/docs docs
- name: Use Node.js ${{ env.NODE_VERSION }}
uses: actions/setup-node@v4
with:
Expand Down

0 comments on commit 4a27604

Please sign in to comment.