Skip to content

chore: release v1.3.4 (#292) #219

chore: release v1.3.4 (#292)

chore: release v1.3.4 (#292) #219

name: Ship js trigger
on:
push:
branches:
- master
jobs:
build:
name: Release
runs-on: Ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
ref: master
- uses: actions/setup-node@v2
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/[email protected]
with:
path: ${{ steps.yarn-cache.outputs.dir }}
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-
- run: git switch master
- run: yarn install
- run: yarn release:trigger
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}