Skip to content

Commit

Permalink
build: Refine release job (#172)
Browse files Browse the repository at this point in the history
  • Loading branch information
dkimura committed Oct 1, 2020
1 parent 80881b0 commit df0e221
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
1 change: 0 additions & 1 deletion .github/workflows/shipjs-manual-prepare.yml
Expand Up @@ -26,4 +26,3 @@ jobs:
- run: yarn release:prepare --yes --no-browse
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}
7 changes: 5 additions & 2 deletions .github/workflows/shipjs-trigger.yml
Expand Up @@ -6,10 +6,13 @@ on:
- master
jobs:
build:
name: Build
name: Release
runs-on: Ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
ref: master
- uses: actions/setup-node@v1
with:
registry-url: "https://registry.npmjs.org"
Expand All @@ -27,4 +30,4 @@ jobs:
- run: yarn release:trigger
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}
NPM_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}

0 comments on commit df0e221

Please sign in to comment.