From b211ba06d0885f1af21608304e2e3aef035f0672 Mon Sep 17 00:00:00 2001 From: Nikaru Date: Sun, 31 May 2026 13:19:59 +0000 Subject: [PATCH] ci: pin node 24 via .nvmrc and setup-node in all workflows --- .github/workflows/next-deployment.yml | 6 +++++- .github/workflows/preview-deployment.yml | 6 +++++- .github/workflows/production-dapp-deployment.yml | 6 +++++- .github/workflows/production-deployment.yml | 6 +++++- .nvmrc | 1 + 5 files changed, 21 insertions(+), 4 deletions(-) create mode 100644 .nvmrc diff --git a/.github/workflows/next-deployment.yml b/.github/workflows/next-deployment.yml index 51cf312..ab9664f 100644 --- a/.github/workflows/next-deployment.yml +++ b/.github/workflows/next-deployment.yml @@ -15,7 +15,11 @@ jobs: name: next url: ${{ steps.seturl.outputs.url }} steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v6 + - name: Setup Node + uses: actions/setup-node@v4 + with: + node-version-file: '.nvmrc' - name: Install Vercel CLI run: npm install --global vercel@latest - name: Pull Vercel Environment Information diff --git a/.github/workflows/preview-deployment.yml b/.github/workflows/preview-deployment.yml index 4c5fd2f..cb6517b 100644 --- a/.github/workflows/preview-deployment.yml +++ b/.github/workflows/preview-deployment.yml @@ -17,7 +17,11 @@ jobs: name: preview url: ${{ steps.seturl.outputs.url }} steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v6 + - name: Setup Node + uses: actions/setup-node@v4 + with: + node-version-file: '.nvmrc' - name: Install Vercel CLI run: npm install --global vercel@latest - name: Pull Vercel Environment Information diff --git a/.github/workflows/production-dapp-deployment.yml b/.github/workflows/production-dapp-deployment.yml index 61a7bc9..9159846 100644 --- a/.github/workflows/production-dapp-deployment.yml +++ b/.github/workflows/production-dapp-deployment.yml @@ -15,7 +15,11 @@ jobs: name: dapp-production url: ${{ steps.seturl.outputs.url }} steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v6 + - name: Setup Node + uses: actions/setup-node@v4 + with: + node-version-file: '.nvmrc' - name: Install Vercel CLI run: npm install --global vercel@latest - name: Pull Vercel Environment Information diff --git a/.github/workflows/production-deployment.yml b/.github/workflows/production-deployment.yml index c7cb569..3cca46b 100644 --- a/.github/workflows/production-deployment.yml +++ b/.github/workflows/production-deployment.yml @@ -15,7 +15,11 @@ jobs: name: production url: ${{ steps.seturl.outputs.url }} steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v6 + - name: Setup Node + uses: actions/setup-node@v4 + with: + node-version-file: '.nvmrc' - name: Install Vercel CLI run: npm install --global vercel@latest - name: Pull Vercel Environment Information diff --git a/.nvmrc b/.nvmrc new file mode 100644 index 0000000..a45fd52 --- /dev/null +++ b/.nvmrc @@ -0,0 +1 @@ +24