From 65867d8413b96e53aa6b4d9d6e94f9741438aa6a Mon Sep 17 00:00:00 2001 From: Fayeed Pawaskar Date: Sat, 23 Mar 2024 09:58:35 +0530 Subject: [PATCH] Update Node.js, Go, and Python versions --- .github/workflows/publish.yml | 16 ++++++++++++---- .github/workflows/publish_staging.yml | 2 +- 2 files changed, 13 insertions(+), 5 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index e988fddc6..81e4bb668 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -16,7 +16,7 @@ jobs: - name: setup node uses: actions/setup-node@v3 with: - node-version: 16 + node-version: 18 - uses: pnpm/action-setup@v2 with: @@ -47,7 +47,7 @@ jobs: fail-fast: false matrix: platform: [GH-hosted-ubuntu, macos-latest, windows-latest] - node-version: [16.x] + node-version: [18.x] needs: - create-release @@ -68,13 +68,21 @@ jobs: - name: Install GO uses: actions/setup-go@v4 with: - go-version: '1.20.6' + go-version: '1.22.0' + + - name: Install/update node-gyp + run: npm install -g node-gyp - name: Install Deno uses: denoland/setup-deno@v1 with: deno-version: v1.32.4 + - name: Use Python 3.11 + uses: actions/setup-python@v4 + with: + python-version: '3.11' + - uses: pnpm/action-setup@v2 with: version: 8 @@ -306,7 +314,7 @@ jobs: - name: Use Node.js 16.x uses: actions/setup-node@v1 with: - node-version: 16.x + node-version: 18.x - uses: pnpm/action-setup@v2 with: diff --git a/.github/workflows/publish_staging.yml b/.github/workflows/publish_staging.yml index 350e3cba3..960a2d6ba 100644 --- a/.github/workflows/publish_staging.yml +++ b/.github/workflows/publish_staging.yml @@ -111,7 +111,7 @@ jobs: - name: Install GO uses: actions/setup-go@v4 with: - go-version: '1.20.6' + go-version: '1.22.0' - name: Install/update node-gyp run: npm install -g node-gyp