From cb7a956e97328c10e7d890fba2d1191a2ee23635 Mon Sep 17 00:00:00 2001 From: Harold <75729237+surelle-ha@users.noreply.github.com> Date: Fri, 1 Nov 2024 23:01:00 +0800 Subject: [PATCH] chore: construct workflow --- .github/workflows/deploy.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 0a4aad2..2efe46b 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -20,9 +20,8 @@ jobs: registry-url: 'https://npm.pkg.github.com/' scope: 'surelle-ha' - - run: npm ci --legacy-peer-deps - - run: npm run build - + - run: npm install --legacy-peer-deps + - run: tsc --build - run: npm publish env: NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}