Skip to content

Commit

Permalink
chore: add setup Node.js to CI jobs
Browse files Browse the repository at this point in the history
  • Loading branch information
Taoyuesong committed Sep 15, 2024
1 parent a634b01 commit 5867bd0
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,11 @@ jobs:
- name: Checkout
uses: actions/checkout@v4

- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 20

- name: Dry run semantic-release
run: |
export PATH=$PATH:$(yarn global bin)
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,11 @@ jobs:
- name: Checkout
uses: actions/checkout@v4

- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 20

- name: Run semantic-release
run: |
export PATH=$PATH:$(yarn global bin)
Expand Down

0 comments on commit 5867bd0

Please sign in to comment.