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 902bfdd commit 942fd37
Showing 1 changed file with 8 additions and 10 deletions.
18 changes: 8 additions & 10 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,22 +3,20 @@ name: main
on: [push, pull_request]

jobs:

Setup:
setup:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3.5.3

- name: Setup Node
uses: actions/setup-node@v3.7.0
with:
node-version: '16'


Client-Dependencies:
client_dependencies:
needs:
- Setup
- setup
runs-on: ubuntu-latest
steps:
- name: Install client dependencies
Expand All @@ -27,9 +25,9 @@ jobs:
npm install
cd ..

Client-Build:
client_build:
needs:
- Client-Dependencies
- client_dependencies
runs-on: ubuntu-latest
steps:
- name: Build client
Expand All @@ -38,9 +36,9 @@ jobs:
npm run build
cd ..

Server-Dependencies:
server_dependencies:
needs:
- Setup
- setup
runs-on: ubuntu-latest
steps:
- name: Install server dependencies
Expand All @@ -49,7 +47,7 @@ jobs:
npm install
cd ..

Testing:
testing:
needs:
- Client-Build
runs-on: ubuntu-latest
Expand Down

0 comments on commit 942fd37

Please sign in to comment.