Skip to content

Commit

Permalink
Try simpler setup
Browse files Browse the repository at this point in the history
  • Loading branch information
djhi committed May 17, 2024
1 parent be6f674 commit ab3e969
Showing 1 changed file with 45 additions and 6 deletions.
51 changes: 45 additions & 6 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,9 @@ jobs:
uses: actions/setup-node@v4
with:
node-version: '18.x'
- uses: threeal/setup-yarn-action@v2.0.0
cache: 'yarn'
- name: Install dependencies
run: yarn
- name: Lint
run: make lint
- name: Build
Expand All @@ -38,7 +40,13 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v4
- uses: threeal/setup-yarn-action@v2.0.0
- name: Use Node.js LTS
uses: actions/setup-node@v4
with:
node-version: '18.x'
cache: 'yarn'
- name: Install dependencies
run: yarn
- name: Unit Tests
run: make test-unit
env:
Expand All @@ -49,7 +57,13 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v4
- uses: threeal/setup-yarn-action@v2.0.0
- name: Use Node.js LTS
uses: actions/setup-node@v4
with:
node-version: '18.x'
cache: 'yarn'
- name: Install dependencies
run: yarn
- name: e2e Tests
run: make test-e2e
env:
Expand All @@ -60,7 +74,13 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v4
- uses: threeal/setup-yarn-action@v2.0.0
- name: Use Node.js LTS
uses: actions/setup-node@v4
with:
node-version: '18.x'
cache: 'yarn'
- name: Install dependencies
run: yarn
- name: Build
run: make build
- name: Build e-commerce
Expand All @@ -83,7 +103,13 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v4
- uses: threeal/setup-yarn-action@v2.0.0
- name: Use Node.js LTS
uses: actions/setup-node@v4
with:
node-version: '18.x'
cache: 'yarn'
- name: Install dependencies
run: yarn
- name: Build
run: make build
- name: Build crm
Expand All @@ -101,6 +127,13 @@ jobs:
uses: actions/checkout@v4
with:
fetch-depth: 2 # Fetch HEAD^ to enable git comparison
- name: Use Node.js LTS
uses: actions/setup-node@v4
with:
node-version: '18.x'
cache: 'yarn'
- name: Install dependencies
run: yarn
- name: Download demo build
uses: actions/download-artifact@v3
with:
Expand All @@ -123,7 +156,13 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v4
- uses: threeal/setup-yarn-action@v2.0.0
- name: Use Node.js LTS
uses: actions/setup-node@v4
with:
node-version: '18.x'
cache: 'yarn'
- name: Install dependencies
run: yarn
- name: Build create-react-admin
run: make build-create-react-admin install
- name: Create new project
Expand Down

0 comments on commit ab3e969

Please sign in to comment.