Skip to content

chore(deps): bump json5 from 1.0.1 to 1.0.2 #256

chore(deps): bump json5 from 1.0.1 to 1.0.2

chore(deps): bump json5 from 1.0.1 to 1.0.2 #256

Workflow file for this run

name: Ship js trigger
on:
pull_request:
types:
- closed
jobs:
build:
name: Release
runs-on: ubuntu-latest
if: github.event.pull_request.merged == true && startsWith(github.head_ref, 'releases/v')
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
ref: master
- uses: actions/setup-node@v3
with:
registry-url: "https://registry.npmjs.org"
- name: Get yarn cache
id: yarn-cache
run: echo "::set-output name=dir::$(yarn cache dir)"
- uses: actions/cache@v3.2.2
with:
path: ${{ steps.yarn-cache.outputs.dir }}
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-
- run: |
if [ -f "yarn.lock" ]; then
yarn install
else
npm install
fi
- run: npx shipjs trigger
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}
# SLACK_INCOMING_HOOK: ${{ secrets.SLACK_INCOMING_HOOK }}