diff --git a/.github/workflows/npmpublish.yml b/.github/workflows/npmpublish.yml index 4c41407..07b7cc0 100644 --- a/.github/workflows/npmpublish.yml +++ b/.github/workflows/npmpublish.yml @@ -14,9 +14,9 @@ jobs: with: node-version: 12 registry-url: https://registry.npmjs.org/ - - run: yarn install --production=false - - run: yarn test - - run: yarn build + - run: yarn install + - run: NODE_ENV=production yarn build - run: npm publish env: + NODE_ENV: development NODE_AUTH_TOKEN: ${{secrets.npm_token}}