Ship js Manual Prepare #34
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Ship js Manual Prepare | |
on: | |
deployment: | |
workflow_dispatch: | |
jobs: | |
manual_prepare: | |
runs-on: Ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
fetch-depth: 0 | |
ref: master | |
- uses: actions/setup-node@v2 | |
- name: Get yarn cache | |
id: yarn-cache | |
run: echo "::set-output name=dir::$(yarn cache dir)" | |
- uses: actions/cache@v2.1.6 | |
with: | |
path: ${{ steps.yarn-cache.outputs.dir }} | |
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }} | |
restore-keys: | | |
${{ runner.os }}-yarn- | |
- run: yarn install | |
- run: | | |
git config --global user.email "sys.gdp@globis.co.jp" | |
git config --global user.name "sys-gdp" | |
- run: yarn release:prepare --yes --no-browse | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |