From 5be63bf46de8391b0d4d41ce5ce56c07fa43d256 Mon Sep 17 00:00:00 2001 From: Bam4d Date: Thu, 7 Dec 2023 17:29:36 +0100 Subject: [PATCH] remove tagging on npm version --- .github/workflows/build_publish.yaml | 13 +++++-------- .npmrc | 2 ++ 2 files changed, 7 insertions(+), 8 deletions(-) create mode 100644 .npmrc 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