Skip to content

Commit

Permalink
ci(actions): update workflows to use node 20
Browse files Browse the repository at this point in the history
  • Loading branch information
dysfunc committed Jan 30, 2024
1 parent 413fdcb commit 67397cd
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 13 deletions.
16 changes: 9 additions & 7 deletions .github/workflows/checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,17 +9,18 @@ jobs:
name: Checking size
if: "!contains(github.event.head_commit.message, '[ci skip]')"
steps:
- name: Checkout the repository
- name: Checkout repository
uses: actions/checkout@v3
- name: Install pnpm
uses: pnpm/action-setup@v2
with:
version: 7
- name: Install Node.js
version: 8.11
- name: Install Node
uses: actions/setup-node@v3
with:
node-version: 16
node-version: 20
cache: 'pnpm'
registry-url: 'https://registry.npmjs.org'
- name: Check size
uses: andresz1/size-limit-action@master
with:
Expand All @@ -33,12 +34,13 @@ jobs:
- name: Install pnpm
uses: pnpm/action-setup@v2
with:
version: 7
- name: Install Node.js
version: 8.11
- name: Install Node
uses: actions/setup-node@v3
with:
node-version: 16
node-version: 20
cache: 'pnpm'
registry-url: 'https://registry.npmjs.org'
- name: Install dependencies
run: pnpm install
- name: Check storybook
Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,13 @@ jobs:
- name: Install pnpm
uses: pnpm/action-setup@v2
with:
version: 7
- name: Install Node.js
version: 8.11
- name: Install Node
uses: actions/setup-node@v3
with:
node-version: 16
node-version: 20
cache: 'pnpm'
registry-url: 'https://registry.npmjs.org'
- name: Install dependencies
run: pnpm install
- name: Run tests
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@ jobs:
- name: Install pnpm
uses: pnpm/action-setup@v2
with:
version: 7
- name: Install Node.js
version: 8.11
- name: Install Node
uses: actions/setup-node@v3
with:
node-version: 16
node-version: 20
cache: 'pnpm'
registry-url: 'https://registry.npmjs.org'
- name: Install dependencies
Expand Down

0 comments on commit 67397cd

Please sign in to comment.