From d85a742a65d93e8130706fab95b12563754ac019 Mon Sep 17 00:00:00 2001 From: Theo Date: Wed, 7 Aug 2024 11:45:26 +0800 Subject: [PATCH] Update npm-downloads.yml --- .github/workflows/npm-downloads.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/npm-downloads.yml b/.github/workflows/npm-downloads.yml index 9cebb0a..dff0b1e 100644 --- a/.github/workflows/npm-downloads.yml +++ b/.github/workflows/npm-downloads.yml @@ -16,10 +16,12 @@ jobs: - name: Set up Node.js uses: actions/setup-node@v4 with: - node-version: 'lts' + node-version: '*' - - name: Install pnpm - run: npm install -g pnpm + - uses: pnpm/action-setup@v4 + name: Install pnpm + with: + version: '*' - name: Install dependencies run: pnpm add axios