Skip to content

fix(deps): Bump github/codeql-action from 2 to 3 #1318

fix(deps): Bump github/codeql-action from 2 to 3

fix(deps): Bump github/codeql-action from 2 to 3 #1318

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:
- name: Checkout code πŸ›Ž
uses: actions/checkout@v3
with:
fetch-depth: 0
ref: dev
- 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@v3
with:
node-version-file: '.nvmrc'
check-latest: true
cache: 'npm'
- name: Install dependencies πŸš€
run: npm ci --prefer-offline --no-audit --omit=optional
- 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 }}