From 26f21a3c82ad55b0eb33cb11a63fb38750631ce8 Mon Sep 17 00:00:00 2001 From: TechQuery Date: Sun, 17 Sep 2023 04:59:44 +0800 Subject: [PATCH] [fix] Command bug of Type Package publishing --- .github/workflows/publish-type.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/publish-type.yml b/.github/workflows/publish-type.yml index d5f76c4..266a8dd 100644 --- a/.github/workflows/publish-type.yml +++ b/.github/workflows/publish-type.yml @@ -20,10 +20,10 @@ jobs: node-version: 18 registry-url: https://npm.pkg.github.com cache: pnpm - - name: Install Dependencies - run: cd type/ && pnpm i - - - name: Build & Publish - run: npm publish + - name: Install, Build & Publish + run: | + cd type/ + pnpm i + npm publish env: NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}