From f6e738e147cf0dd0085ce4d3672f025498c4e383 Mon Sep 17 00:00:00 2001 From: clukhei Date: Mon, 23 Oct 2023 15:37:12 +0800 Subject: [PATCH] fix(ci): update build step command --- .github/workflows/publish-latest.yml | 2 +- .github/workflows/publish-pr.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/publish-latest.yml b/.github/workflows/publish-latest.yml index 8a8e1be5..4654e35d 100644 --- a/.github/workflows/publish-latest.yml +++ b/.github/workflows/publish-latest.yml @@ -16,7 +16,7 @@ jobs: registry-url: 'https://registry.npmjs.org' - run: npm ci - run: npm run test - - run: npm run build:lib + - run: npm run build - run: npm publish --tag latest ./lib --access public env: NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} \ No newline at end of file diff --git a/.github/workflows/publish-pr.yml b/.github/workflows/publish-pr.yml index 9bcdac29..cd12fe6c 100644 --- a/.github/workflows/publish-pr.yml +++ b/.github/workflows/publish-pr.yml @@ -20,7 +20,7 @@ jobs: registry-url: 'https://registry.npmjs.org' - run: npm ci - run: npm run test - - run: npm run build:lib + - run: npm run build - run: npm publish --tag alpha ./lib if: contains(env.NPM_TAG, 'alpha') - run: npm publish --tag beta ./lib