Skip to content

Commit

Permalink
Merge pull request #100 from gridsome/chore/upgrade-shipjs
Browse files Browse the repository at this point in the history
chore: upgrade shipjs
  • Loading branch information
tyankatsu0105 authored Jun 23, 2020
2 parents e676e84 + 8762fe6 commit 64b649f
Show file tree
Hide file tree
Showing 4 changed files with 424 additions and 416 deletions.
13 changes: 6 additions & 7 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,17 @@
name: Release
on:
push:
branches:
- master
pull_request:
types:
- closed
jobs:
release:
name: Release
runs-on: ubuntu-latest
if: github.event.pull_request.merged == true && startsWith(github.head_ref, 'releases/v')
steps:
- uses: actions/checkout@v2
with:
ref: master
ref: develop
fetch-depth: 0

- uses: actions/cache@v1
Expand All @@ -30,10 +31,8 @@ jobs:
- name: Install dependencies
if: steps.cache.outputs.cache-hit != 'true'
run: npm ci

- run: git fetch

- run: npm run release:trigger
- run: npx shipjs trigger
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}
Loading

0 comments on commit 64b649f

Please sign in to comment.