diff --git a/.github/workflows/npm-publish.yml b/.github/workflows/npm-publish.yml index 6cdebaf..5548c6d 100644 --- a/.github/workflows/npm-publish.yml +++ b/.github/workflows/npm-publish.yml @@ -16,7 +16,10 @@ jobs: with: node-version: 16 - run: npm ci - - run: npm test + - run: npm run clean + - run: npm run build + - run: npm run copy-css-to-es + - run: npm run copy-css-to-lib publish-npm: needs: build @@ -28,6 +31,6 @@ jobs: node-version: 16 registry-url: https://registry.npmjs.org/ - run: npm ci - - run: npm publish + - run: npm publish --access public env: NODE_AUTH_TOKEN: ${{secrets.npm_token}}