From 986453c18603d85253ba2081b5c6aac77aef6dd1 Mon Sep 17 00:00:00 2001 From: chenshenhai Date: Sun, 15 Oct 2023 12:19:09 +0800 Subject: [PATCH] ci: update github action --- .github/workflows/release.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index b7f90951e..73eafcc29 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -16,11 +16,9 @@ jobs: - run: pnpm i - run: npm run test - run: npm run build - - run: cd packages/types/ - - run: npm publish --tag next + - run: npm publish -w ./packages/types --tag next env: NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} - - run: cd ../util/ - - run: npm publish --tag next + - run: npm publish -w ./packages/util --tag next env: NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}