Skip to content
This repository has been archived by the owner on Apr 12, 2024. It is now read-only.

Commit

Permalink
update LTS node version
Browse files Browse the repository at this point in the history
  • Loading branch information
Lykhoyda committed Jan 10, 2024
1 parent 655e3c3 commit 4368801
Show file tree
Hide file tree
Showing 5 changed files with 26 additions and 26 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/cron.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,13 @@ jobs:
issues: write
steps:
- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Install Node.js
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
cache: yarn
node-version: "16"
node-version: "20"

- name: Activate corepack
run: corepack enable
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/main-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@ jobs:
runs-on: ubuntu-latest
if: github.event_name == 'push' && github.ref == 'refs/heads/master'
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
cache: 'yarn'
node-version: 16
node-version: "20"
registry-url: 'https://registry.npmjs.org'
- run: corepack enable
- run: yarn --immutable
Expand Down
36 changes: 18 additions & 18 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@ jobs:
name: Build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: "16"
node-version: "20"
cache: 'yarn'

- name: Activate corepack
Expand All @@ -34,10 +34,10 @@ jobs:
name: 'Download Metamask extension'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 16
node-version: "20"
cache: 'yarn'
- run: corepack enable
- name: Install deps
Expand All @@ -53,10 +53,10 @@ jobs:
name: Lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: "16"
node-version: "20"
cache: 'yarn'
- run: corepack enable
- name: Install deps
Expand All @@ -73,10 +73,10 @@ jobs:
mm-version: [ mm, flask ]
automation: [ playwright, puppeteer ]
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: "16"
node-version: "20"
cache: 'yarn'
- uses: actions/cache/restore@v3
with:
Expand All @@ -101,10 +101,10 @@ jobs:
matrix:
automation: [ playwright, puppeteer ]
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: "16"
node-version: "20"
cache: 'yarn'
- uses: actions/cache/restore@v3
with:
Expand All @@ -129,13 +129,13 @@ jobs:
package-name: release-please-action
changelog-types: '[{"type":"feat","section":"Features","hidden":false},{"type":"fix","section":"Bug Fixes","hidden":false},{"type":"chore","section":"Miscellaneous","hidden":true}]'

- uses: actions/checkout@v3
- uses: actions/checkout@v4
if: ${{ steps.release.outputs.release_created }}

- uses: actions/setup-node@v3
- uses: actions/setup-node@v4
with:
cache: 'yarn'
node-version: 16
node-version: "20"
registry-url: 'https://registry.npmjs.org'
if: ${{ steps.release.outputs.release_created }}

Expand Down
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
v16
v20

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"bin"
],
"engines": {
"node": ">=16.10"
"node": ">=20.10"
},
"packageManager": "[email protected]",
"scripts": {
Expand Down

0 comments on commit 4368801

Please sign in to comment.