Skip to content

Commit

Permalink
Update main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
nelsontr authored Nov 1, 2023
1 parent 67e4c38 commit 2a5e535
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@ jobs:
- name: Cache Client Dependencies
uses: actions/cache@v3.3.2
with:
path: |
/home/runner/work/neiist-website/neiist-website/client
key: client-setup-${{ runner.os }}
- name: Install client dependencies
run: |
Expand All @@ -52,6 +54,8 @@ jobs:
uses: actions/setup-node@v3.8.2
with:
node-version: "16"
path: |
/home/runner/work/neiist-website/neiist-website/client
- name: Cache Client Dependencies
uses: actions/cache@v3.3.2
with:
Expand All @@ -74,6 +78,8 @@ jobs:
- name: Cache Server Dependencies
uses: actions/cache@v3.3.2
with:
path: |
/home/runner/work/neiist-website/neiist-website/server
key: server-setup-${{ runner.os }}
- name: Install server dependencies
run: |
Expand All @@ -93,6 +99,8 @@ jobs:
- name: Cache Client Dependencies
uses: actions/cache@v3.3.2
with:
path: |
/home/runner/work/neiist-website/neiist-website/client
key: client-setup-${{ runner.os }}
- name: Frontend Tests
if: ${{ github.event_name == 'pull_request' && github.event.pull_request.base.ref == 'master' || github.event_name == 'push' && github.ref == 'refs/heads/master' }}
Expand Down

0 comments on commit 2a5e535

Please sign in to comment.