Skip to content

Commit

Permalink
fix release env
Browse files Browse the repository at this point in the history
  • Loading branch information
Loïc Hermann committed May 28, 2021
1 parent e599e73 commit 91a4dd1
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@
name: Node.js CI

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,12 @@ 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'
always-auth: true
registry-url: 'https://registry.npmjs.org'
- run: yarn publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
NPM_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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": "[email protected]"
Expand Down

0 comments on commit 91a4dd1

Please sign in to comment.