Skip to content

Commit

Permalink
chore(actions): node version & checkout step name (#636)
Browse files Browse the repository at this point in the history
  • Loading branch information
SunsetTechuila authored Nov 3, 2023
1 parent c73ae8e commit f22b66b
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 11 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
uses: actions/setup-node@v3
with:
node-version: 20
cache: "pnpm"
cache: pnpm
cache-dependency-path: pnpm-lock.yaml

- name: Install dependencies
Expand Down
11 changes: 6 additions & 5 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,19 +13,20 @@ jobs:
name: lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Check out the code
uses: actions/checkout@v4

- name: Install pnpm
uses: pnpm/action-setup@v2
with:
version: latest
run_install: false

- name: Install Node.js (v20)
uses: actions/setup-node@v3
- name: Install Node.js
uses: actions/setup-node@v4
with:
node-version: 20
cache: "pnpm"
node-version-file: .nvmrc
cache: pnpm
cache-dependency-path: pnpm-lock.yaml

- name: Install dependencies
Expand Down
11 changes: 6 additions & 5 deletions .github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@ jobs:
permissions:
contents: write
steps:
- uses: actions/checkout@v4
- name: Check out the code
uses: actions/checkout@v4
with:
fetch-depth: 0

Expand All @@ -23,11 +24,11 @@ jobs:
version: latest
run_install: false

- name: Install Node.js (v20)
uses: actions/setup-node@v3
- name: Install Node.js
uses: actions/setup-node@v4
with:
node-version: 20
cache: "pnpm"
node-version-file: .nvmrc
cache: pnpm
cache-dependency-path: pnpm-lock.yaml

- name: Configure Git
Expand Down

0 comments on commit f22b66b

Please sign in to comment.