diff --git a/.github/workflows/publish-authkit.yaml b/.github/workflows/publish-authkit.yaml index a39c124..d15cf48 100644 --- a/.github/workflows/publish-authkit.yaml +++ b/.github/workflows/publish-authkit.yaml @@ -1,8 +1,9 @@ name: Publish AuthKit Package to NPM on: - release: - types: [created] + push: + tags: + - "authkit-node-[0-9]+.[0-9]+.[0-9]+" jobs: build: @@ -23,4 +24,4 @@ jobs: - name: Publish run: npm publish --access public env: - NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} \ No newline at end of file + NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} diff --git a/.npmrc b/.npmrc deleted file mode 100644 index ae64359..0000000 --- a/.npmrc +++ /dev/null @@ -1 +0,0 @@ -//registry.npmjs.org/:_authToken=${NPM_TOKEN} diff --git a/packages/connections/package.json b/packages/connections/package.json index 330e36e..469147a 100644 --- a/packages/connections/package.json +++ b/packages/connections/package.json @@ -1,6 +1,6 @@ { "name": "@picahq/authkit-node", - "version": "1.0.0", + "version": "1.0.1", "description": "Secure token generation for Pica AuthKit", "main": "dist/index.js", "scripts": { @@ -47,4 +47,4 @@ }, "gitHead": "35ff51f0afc618c5413ef9bab778f4dcf582b8ab", "homepage": "https://picaos.com" -} \ No newline at end of file +}