diff --git a/.github/workflows/npm-publish.yml b/.github/workflows/npm-publish.yml index 6a58aa6..5d87ce5 100644 --- a/.github/workflows/npm-publish.yml +++ b/.github/workflows/npm-publish.yml @@ -28,7 +28,8 @@ jobs: with: node-version: 12 registry-url: https://registry.npmjs.org/ + - run: npm ci - run: npm run build - run: npm publish env: - NODE_AUTH_TOKEN: ${{secrets.NPM_PUBLISH_TOKEN}} + NODE_AUTH_TOKEN: ${{ secrets.NPM_PUBLISH_TOKEN }} diff --git a/.npmignore b/.npmignore new file mode 100644 index 0000000..79d7037 --- /dev/null +++ b/.npmignore @@ -0,0 +1,2 @@ +.github/ +src/__tests__/** \ No newline at end of file