Skip to content

Commit

Permalink
feat(actions): Update step ordering.
Browse files Browse the repository at this point in the history
  • Loading branch information
himerus committed Feb 15, 2024
1 parent 0b20790 commit 38ae743
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,9 @@ jobs:
# @see https://github.com/marketplace/actions/checkout
- name: Checkout Codebase
uses: actions/checkout@v4

- name: Use local Yarn version
run: echo "$(pwd)/.yarn/releases" >> $GITHUB_PATH

# @see https://github.com/marketplace/actions/setup-node-js-environment
- uses: actions/setup-node@v4
Expand All @@ -60,9 +63,6 @@ jobs:
- name: Initialize .npmrc
run: cp $NPM_CONFIG_USERCONFIG .npmrc

- name: Use local Yarn version
run: echo "$(pwd)/.yarn/releases" >> $GITHUB_PATH

- name: Install
run: yarn install
env:
Expand All @@ -85,6 +85,9 @@ jobs:
# @see https://github.com/marketplace/actions/checkout
- name: Checkout Codebase
uses: actions/checkout@v4

- name: Use local Yarn version
run: echo "$(pwd)/.yarn/releases" >> $GITHUB_PATH

# @see https://github.com/marketplace/actions/setup-node-js-environment
- uses: actions/setup-node@v4
Expand All @@ -101,9 +104,6 @@ jobs:
# Defaults to the user or organization that owns the workflow file
scope: '@phase2'

- name: Use local Yarn version
run: echo "$(pwd)/.yarn/releases" >> $GITHUB_PATH

- name: Install
run: yarn install

Expand All @@ -128,6 +128,9 @@ jobs:
- name: Checkout codebase
uses: actions/checkout@v4

- name: Use local Yarn version
run: echo "$(pwd)/.yarn/releases" >> $GITHUB_PATH

# @see https://github.com/marketplace/actions/setup-node-js-environment
- uses: actions/setup-node@v4
with:
Expand All @@ -142,10 +145,7 @@ jobs:
registry-url: 'https://npm.pkg.github.com'
# Defaults to the user or organization that owns the workflow file
scope: '@phase2'

- name: Use local Yarn version
run: echo "$(pwd)/.yarn/releases" >> $GITHUB_PATH


- name: Install
run: yarn install

Expand Down

0 comments on commit 38ae743

Please sign in to comment.