Skip to content

Commit

Permalink
fix: setup nodejs
Browse files Browse the repository at this point in the history
  • Loading branch information
itsyoboieltr committed Jun 28, 2024
1 parent 9b8917e commit ce18831
Showing 1 changed file with 18 additions and 8 deletions.
26 changes: 18 additions & 8 deletions .github/workflows/run-unit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,21 @@ jobs:
test-unit-jest:
runs-on: ubuntu-latest
steps:
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 'lts/*'

- run: corepack enable

- name: Checkout repository
uses: actions/checkout@v4

- name: Setup Node.js
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'
cache: 'yarn'

- run: corepack enable
cache: yarn

- name: Install dependencies
run: yarn --immutable
Expand All @@ -28,16 +33,21 @@ jobs:
test-unit-jest-development:
runs-on: ubuntu-latest
steps:
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 'lts/*'

- run: corepack enable

- name: Checkout repository
uses: actions/checkout@v4

- name: Setup Node.js
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'
cache: 'yarn'

- run: corepack enable
cache: yarn

- name: Install dependencies
run: yarn --immutable
Expand Down

0 comments on commit ce18831

Please sign in to comment.