From 2a966e35fbf49ba89ea48819f9a2efbc6495c7a6 Mon Sep 17 00:00:00 2001 From: James Chien Date: Wed, 8 Nov 2023 18:33:13 +0800 Subject: [PATCH] ci: update github workflow for publishing --- .github/workflows/publish.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 5ec9138..528b75d 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -16,6 +16,8 @@ jobs: with: node-version: 18 - run: npm ci + - run: npm run build + - run: npx playwright install - run: npm run test publish-gpr: @@ -31,6 +33,7 @@ jobs: node-version: 18 registry-url: https://npm.pkg.github.com/ - run: npm ci + - run: npm run build - run: npm publish env: NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}