Skip to content

Commit

Permalink
chore: Update node version to 20 and cache yarn in build workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
codemile committed Jun 1, 2024
1 parent 1cb4d88 commit fc8dab5
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 4 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,12 @@ jobs:
- name: "📥 Checkout code"
uses: actions/checkout@v4

- name: "🔧 Setup node"
uses: actions/setup-node@v4
with:
node-version: "20"
cache: "yarn"

- name: "📦 Install dependencies"
uses: reactgular/cache@v1
with:
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ concurrency: "deploy"

jobs:
build:
needs: [ install ]
uses: ./.github/workflows/build.yml
with:
testOnly: true
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,4 @@ concurrency: "main"

jobs:
build:
needs: [ install ]
uses: ./.github/workflows/build.yml
1 change: 0 additions & 1 deletion .github/workflows/pull_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,4 @@ concurrency:

jobs:
build:
needs: [ install ]
uses: ./.github/workflows/build.yml
1 change: 0 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ jobs:
package_version: ${{ steps.version.outputs.version }}

deploy:
needs: [ build ]
uses: ./.github/workflows/deploy.yml

release-version:
Expand Down

0 comments on commit fc8dab5

Please sign in to comment.