diff --git a/.github/workflows/build_publish.yaml b/.github/workflows/build_publish.yaml index f08a082..089d06f 100644 --- a/.github/workflows/build_publish.yaml +++ b/.github/workflows/build_publish.yaml @@ -55,13 +55,11 @@ jobs: with: node-version: 18 - # Install Build stuff - - name: Install Dependencies - env: - NPM_TOKEN: ${{ secrets.NPM_TOKEN }} + # Publish module + - name: Publish run: | + echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" >> .npmrc npm version ${{ github.ref_name }} - npm install npm publish \ No newline at end of file diff --git a/.npmrc b/.npmrc index d09a328..73fcbbc 100644 --- a/.npmrc +++ b/.npmrc @@ -1,2 +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 +git-tag-version=false