From 3c84fa24f0998a3b58c36a8f19e77dd0feb87bd6 Mon Sep 17 00:00:00 2001 From: chenshenhai Date: Sun, 15 Oct 2023 11:57:02 +0800 Subject: [PATCH] ci: update github action --- .github/workflows/release.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index f371883..643199e 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -1,4 +1,4 @@ -name: Publish Package to npmjs +name: Release on: release: types: [published] @@ -12,6 +12,8 @@ jobs: with: node-version: '20.x' registry-url: 'https://registry.npmjs.org' + - run: npm install --global pnpm + - run: pnpm i - run: npm run test - run: npm run build - run: cd packages/types/