Skip to content

Commit

Permalink
[workflow] setup node
Browse files Browse the repository at this point in the history
  • Loading branch information
liplum committed May 11, 2024
1 parent e11c8a6 commit 6ce2ca2
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,14 @@ jobs:
- name: Checkout the code
uses: actions/checkout@v4

- uses: actions/setup-node@v4
with:
node-version: 20
cache: 'npm'
cache-dependency-path: tools/package-lock.json
run: |
cd tools && npm i && cd ..
- name: Change version info
run: |
git config --global user.email "github-actions[bot]@users.noreply.github.com"
Expand Down Expand Up @@ -78,6 +86,14 @@ jobs:
- name: Checkout the code
uses: actions/checkout@v4

- uses: actions/setup-node@v4
with:
node-version: 20
cache: 'npm'
cache-dependency-path: tools/package-lock.json
run: |
cd tools && npm i && cd ..
- name: Change version info
run: |
git config --global user.email "github-actions[bot]@users.noreply.github.com"
Expand Down Expand Up @@ -156,6 +172,14 @@ jobs:
- name: Checkout the code
uses: actions/checkout@v4

- uses: actions/setup-node@v4
with:
node-version: 20
cache: 'npm'
cache-dependency-path: tools/package-lock.json
run: |
cd tools && npm i && cd ..
- name: Change version info
run: |
git config --global user.email "github-actions[bot]@users.noreply.github.com"
Expand Down

0 comments on commit 6ce2ca2

Please sign in to comment.