From d7541c45f1c2138b2c04ff33da9cf6487d10fe9b Mon Sep 17 00:00:00 2001 From: Danny Avila Date: Sat, 14 Oct 2023 12:36:59 -0400 Subject: [PATCH] fix(ci): update publish workflow --- .github/workflows/publish.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index ebcec92..ea1b395 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -14,7 +14,7 @@ jobs: - uses: actions/setup-node@v3 with: node-version: 16 - - run: NODE_ENV=production npm ci + - run: npm ci - run: npm run build --if-present - run: npm test @@ -29,7 +29,6 @@ jobs: registry-url: 'https://registry.npmjs.org' - run: NODE_ENV=production npm ci - run: npm run build --if-present - - run: npm test - run: npm publish env: NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}