Skip to content

Commit

Permalink
Use setup-yarn-action
Browse files Browse the repository at this point in the history
  • Loading branch information
djhi committed May 17, 2024
1 parent 9ef20ce commit be6f674
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
uses: actions/setup-node@v4
with:
node-version: '18.x'
- uses: bahmutov/npm-install@v1.10.2
- uses: threeal/setup-yarn-action@v2.0.0
- name: Lint
run: make lint
- name: Build
Expand All @@ -38,7 +38,7 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v4
- uses: bahmutov/npm-install@v1.10.2
- uses: threeal/setup-yarn-action@v2.0.0
- name: Unit Tests
run: make test-unit
env:
Expand All @@ -49,7 +49,7 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v4
- uses: bahmutov/npm-install@v1.10.2
- uses: threeal/setup-yarn-action@v2.0.0
- name: e2e Tests
run: make test-e2e
env:
Expand All @@ -60,7 +60,7 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v4
- uses: bahmutov/npm-install@v1.10.2
- uses: threeal/setup-yarn-action@v2.0.0
- name: Build
run: make build
- name: Build e-commerce
Expand All @@ -83,7 +83,7 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v4
- uses: bahmutov/npm-install@v1.10.2
- uses: threeal/setup-yarn-action@v2.0.0
- name: Build
run: make build
- name: Build crm
Expand Down Expand Up @@ -123,9 +123,7 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v4
- uses: bahmutov/npm-install@v1.10.2
with:
install-command: yarn --immutable
- uses: threeal/setup-yarn-action@v2.0.0
- name: Build create-react-admin
run: make build-create-react-admin install
- name: Create new project
Expand Down

0 comments on commit be6f674

Please sign in to comment.