From 91a4dd1b565411a8b366a54f7afb17241996b6c0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Hermann?= Date: Fri, 28 May 2021 11:37:02 +0200 Subject: [PATCH] fix release env --- .github/workflows/main.yml | 2 -- .github/workflows/release.yml | 4 ++-- package.json | 2 +- 3 files changed, 3 insertions(+), 5 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 6f19a00..3fd4d6d 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -4,8 +4,6 @@ name: Node.js CI on: - push: - branches: [ master ] pull_request: branches: [ master ] diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 6f6afc3..c4c5092 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -16,7 +16,7 @@ jobs: - run: yarn install - run: yarn publish env: - NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }} + NPM_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }} - uses: actions/setup-node@v2 with: node-version: '15.x' @@ -24,4 +24,4 @@ jobs: registry-url: 'https://registry.npmjs.org' - run: yarn publish env: - NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} \ No newline at end of file + NPM_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} \ No newline at end of file diff --git a/package.json b/package.json index e84f68a..cbede8f 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "binary-search-tree", - "version": "0.3.0-beta.2", + "version": "0.3.0-beta.3", "author": { "name": "Louis Chatriot", "email": "louis.chatriot@gmail.com"