Skip to content

Commit

Permalink
node yarn then configure
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronmgdr committed Dec 22, 2023
1 parent b51db22 commit cb136e8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,9 @@ jobs:
- uses: actions/setup-node@v2
with:
node-version: '18'
# must call twice because of chicken and egg problem with yarn and node
- name: "enable corepack for yarn"
run : sudo corepack enable yarn
# must call twice because of chicken and egg problem with yarn and node
- uses: actions/setup-node@v2
with:
node-version: '18'
Expand All @@ -74,8 +76,6 @@ jobs:
key: node-${{ runner.os }}-${{ runner.arch }}-${{ env.NODE_MODULE_CACHE_VERSION }}-${{ hashFiles('yarn.lock') }}
restore-keys: |
node-${{ runner.os }}-${{ runner.arch }}-${{ env.NODE_MODULE_CACHE_VERSION }}-
- name: "enable corepack for yarn"
run : sudo corepack enable yarn
- name: Install yarn dependencies
run: git config --global url."https://".insteadOf ssh:// && yarn install
if: steps.cache_node.outputs.cache-hit != 'true'
Expand Down

0 comments on commit cb136e8

Please sign in to comment.