Skip to content

Commit

Permalink
build: copy cloned files into git workspace
Browse files Browse the repository at this point in the history
  • Loading branch information
emgk committed Oct 10, 2023
1 parent 17c5b82 commit 71fbcdf
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/code-review.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,19 @@ jobs:
- name: List content
run: pwd && ls

- name: Save files to workspace
run: cp -r ./sui-docs $GITHUB_WORKSPACE/sui-docs

code-testing:
needs: [fetch-repos]
runs-on: ubuntu-latest
steps:
- name: Restore files from workspace
uses: actions/checkout@v3
with:
path: ./sui-docs
if: always()

- name: Set up Node.js
uses: actions/setup-node@v3
with:
Expand All @@ -65,6 +74,12 @@ jobs:
needs: [fetch-repos]
runs-on: ubuntu-latest
steps:
- name: Restore files from workspace
uses: actions/checkout@v3
with:
path: ./sui-docs
if: always()

- name: Run eslint on changed files
uses: tj-actions/eslint-changed-files@v21
with:
Expand Down

0 comments on commit 71fbcdf

Please sign in to comment.