chore(deps): update dependency lint-staged to v13 - autoclosed #109
Workflow file for this run
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: Release | |
on: | |
pull_request: | |
types: | |
- closed | |
jobs: | |
release: | |
name: Release | |
if: github.event.pull_request.merged == true && contains(github.event.pull_request.labels.*.name, 'release') | |
runs-on: Ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-node@v1 | |
with: | |
registry-url: "https://registry.npmjs.org" | |
- run: git switch next | |
- run: | | |
if [ -f "yarn.lock" ]; then | |
yarn install | |
else | |
npm install | |
fi | |
- run: npm run release:trigger | |
env: | |
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }} | |
NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }} | |
SLACK_INCOMING_HOOK: ${{ secrets.SLACK_INCOMING_HOOK }} |