Skip to content

Update README.md

Update README.md #138

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@v2
with:
fetch-depth: 0
ref: master
- uses: actions/setup-node@v3
with:
node-version-file: .nvmrc
cache: npm
- run: |
git config --global user.email "github-actions[bot]@users.noreply.github.com"
git config --global user.name "github-actions[bot]"
- run: npm ci
- run: npm run release:trigger
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}
WIDGET_S3_BUCKET: ${{ secrets.WIDGET_S3_BUCKET }}
WIDGET_S3_PATH: ${{ secrets.WIDGET_S3_PATH }}
WIDGET_S3_ACCESS_KEY: ${{ secrets.WIDGET_S3_ACCESS_KEY }}
WIDGET_S3_SECRET_KEY: ${{ secrets.WIDGET_S3_SECRET_KEY }}