diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index f778e124..a5a45e5e 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -13,12 +13,12 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Setup Node.js - uses: actions/setup-node@v2 + uses: actions/setup-node@v4 with: - node-version: 16.15.0 + node-version: 20 - name: Install dependencies run: yarn install diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 4ad95484..42033aa5 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -12,7 +12,12 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 + + - name: Setup Node.js + uses: actions/setup-node@v4 + with: + node-version: 20 - name: Login to GHCR uses: docker/login-action@v2 diff --git a/package.json b/package.json index 8b5a0b94..b0c1e163 100644 --- a/package.json +++ b/package.json @@ -2,6 +2,9 @@ "name": "stakingbrain", "type": "module", "private": true, + "engines": { + "node": "20.x" + }, "workspaces": [ "packages/*" ],