Skip to content

chore: release v1.0.1 #3

chore: release v1.0.1

chore: release v1.0.1 #3

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
steps:
- name: Checkout code 🛎
uses: actions/checkout@v4
with:
fetch-depth: 0
ref: main
- name: Setup GitHub Actor
run: |
git config --global user.email "[email protected]"
git config --global user.name "GitHub Action"
- name: Setup node env 📦
uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'
- name: Install dependencies 🚀
run: npm i --prefer-offline --no-audit
- name: Trigger a release 🥳
run: npx shipjs trigger
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}
SLACK_INCOMING_HOOK: ${{ secrets.SLACK_INCOMING_HOOK }}