From 1ef483f47e5c8ea59a33cffb3519ebad84c4a655 Mon Sep 17 00:00:00 2001 From: Kevin Lee <59052025+lgz5689@users.noreply.github.com> Date: Sat, 12 Oct 2024 11:43:43 +0800 Subject: [PATCH] chore: use yarn install deps (#43) --- .github/workflows/release.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index d35e2ca..19e4814 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -20,11 +20,14 @@ jobs: with: node-version: '20' + - name: Install Yarn + run: npm install -g yarn@1.22.15 + - name: Install dependencies - run: npm install + run: yarn - name: Build - run: npm run prepack + run: yarn prepack - name: Authenticate with npm registry run: npm config set //registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}