diff --git a/.github/workflows/build_publish.yaml b/.github/workflows/build_publish.yaml index 3e4f088..4d2e23b 100644 --- a/.github/workflows/build_publish.yaml +++ b/.github/workflows/build_publish.yaml @@ -57,14 +57,11 @@ jobs: # Install Build stuff - name: Install Dependencies + env: + NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} run: | - npm version ${{ github.ref }} + npm version --no ${{ github.ref }} npm install + npm publish - - # Publish - - name: Publish - uses: JS-DevTools/npm-publish@v1 - with: - token: ${{ secrets.NPM_TOKEN }} - access: public \ No newline at end of file + \ No newline at end of file diff --git a/.npmrc b/.npmrc new file mode 100644 index 0000000..d09a328 --- /dev/null +++ b/.npmrc @@ -0,0 +1,2 @@ +# when we run npm version, we don't want to create a git tag +git-tag-version=false \ No newline at end of file