diff --git a/.github/workflows/publish-pre.yml b/.github/workflows/publish-pre.yml index 469eece..e2c0385 100644 --- a/.github/workflows/publish-pre.yml +++ b/.github/workflows/publish-pre.yml @@ -13,8 +13,8 @@ jobs: with: node-version: 16 registry-url: https://registry.npmjs.org/ - - run: npm run build - - run: npm publish --tag pre --access public + - name: Build & Publish + run: npm ci && npm run build && npm publish --tag pre --access public env: NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}} @@ -26,7 +26,7 @@ jobs: with: node-version: 16 registry-url: https://npm.pkg.github.com/ - - run: npm run build - - run: npm publish --tag pre --access public + - name: Build & Publish + run: npm ci && npm run build && npm publish --tag pre --access public env: NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}} \ No newline at end of file diff --git a/.npmignore b/.npmignore index 5b679ff..4831109 100644 --- a/.npmignore +++ b/.npmignore @@ -1,5 +1,6 @@ .github/ src/ test/ +.nvmrc MIGRATION.md tsconfig.json \ No newline at end of file diff --git a/.nvmrc b/.nvmrc new file mode 100644 index 0000000..6f7f377 --- /dev/null +++ b/.nvmrc @@ -0,0 +1 @@ +v16