fix(deps): bump amannn/action-semantic-pull-request from 5.5.2 to 5.5.3 in the actions-minor group #527
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: 'Ship js trigger' | |
on: | |
pull_request: | |
types: | |
- closed | |
permissions: | |
contents: write | |
jobs: | |
build: | |
name: Release | |
runs-on: ubuntu-latest | |
if: github.event.pull_request.merged == true && startsWith(github.head_ref, 'releases/v') | |
steps: | |
- name: Checkout code π | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
ref: main | |
- name: Setup GitHub Actor | |
run: | | |
git config --global user.email "action@github.com" | |
git config --global user.name "GitHub Action" | |
- name: Setup node environment π¦ | |
uses: actions/setup-node@v4 | |
with: | |
node-version-file: '.nvmrc' | |
check-latest: true | |
cache: 'npm' | |
- name: Install dependencies π | |
run: npm ci --prefer-offline --no-audit | |
- name: Trigger a release π₯³ | |
run: npx shipjs trigger | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
NPM_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
SLACK_INCOMING_HOOK: ${{ secrets.SLACK_INCOMING_HOOK }} |