From b4d695f0577420693934f0caea6cd8da0d739f21 Mon Sep 17 00:00:00 2001 From: byt3h3ad Date: Thu, 13 Jun 2024 18:04:06 +0530 Subject: [PATCH] fix: node and pnpm versions --- .github/workflows/beta.yml | 5 ++++- .github/workflows/build.yml | 3 +++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/beta.yml b/.github/workflows/beta.yml index 856c137..b0f0522 100644 --- a/.github/workflows/beta.yml +++ b/.github/workflows/beta.yml @@ -3,7 +3,7 @@ name: Publish to npm on: push: branches: - - dev + - 'dev' jobs: build: runs-on: ubuntu-22.04 @@ -11,9 +11,12 @@ jobs: - uses: actions/checkout@v4 - name: install pnpm uses: pnpm/action-setup@v4 + with: + version: 9 - name: use node.js uses: actions/setup-node@v4 with: + node-version: 20 cache: "pnpm" registry-url: "https://registry.npmjs.org" - name: install dependencies diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 80cdbf8..699f46a 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -11,9 +11,12 @@ jobs: - uses: actions/checkout@v4 - name: install pnpm uses: pnpm/action-setup@v4 + with: + version: 9 - name: use node.js uses: actions/setup-node@v4 with: + node-version: 20 cache: "pnpm" registry-url: "https://registry.npmjs.org" - name: install dependencies