Skip to content

Release

Release #16

Workflow file for this run

name: Release
on:
workflow_dispatch:
branches: [master]
jobs:
release:
name: Release
runs-on: ubuntu-latest
if: github.actor == 'its-lee'
steps:
- uses: actions/checkout@v1
- uses: actions/setup-node@v1
with:
node-version: 18
registry-url: "https://registry.npmjs.org"
- run: git switch master
- run: |
if [ -f "yarn.lock" ]; then
yarn install
else
npm install
fi
- run: npm run release:trigger
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}
#SLACK_INCOMING_HOOK: ${{ secrets.SLACK_INCOMING_HOOK }}