Skip to content

Commit

Permalink
Update main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
nelsontr authored Oct 30, 2023
1 parent a68b878 commit 8ab2e62
Showing 1 changed file with 15 additions and 10 deletions.
25 changes: 15 additions & 10 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,29 +7,22 @@ jobs:
runs-on: ubuntu-latest

steps:
- run: ls
- run: ls ~/
- name: Checkout
uses: actions/checkout@v3.6.0
- name: Cache Initial Setup
uses: actions/cache@v3.3.2
with:
path: |
./neiist-website/
~/
key: initial-setup-${{ runner.os }}
- name: Setup Node
uses: actions/setup-node@v3.8.2
with:
node-version: "16"
- run: ls
- run: ls ~/

client_dependencies:
needs:
- setup_stage
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3.6.0

- name: Setup Node
uses: actions/setup-node@v3.8.2
with:
Expand All @@ -45,6 +38,10 @@ jobs:
- client_dependencies
runs-on: ubuntu-latest
steps:
- name: Setup Node
uses: actions/setup-node@v3.8.2
with:
node-version: "16"
- name: Build client
run: |
cd client
Expand All @@ -56,6 +53,10 @@ jobs:
- setup_stage
runs-on: ubuntu-latest
steps:
- name: Setup Node
uses: actions/setup-node@v3.8.2
with:
node-version: "16"
- name: Install server dependencies
run: |
cd server
Expand All @@ -67,6 +68,10 @@ jobs:
- client_build
runs-on: ubuntu-latest
steps:
- name: Setup Node
uses: actions/setup-node@v3.8.2
with:
node-version: "16"
- 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' }}
run: |
Expand Down

0 comments on commit 8ab2e62

Please sign in to comment.