Skip to content

πŸš€ Release

πŸš€ Release #5

Workflow file for this run

name: πŸš€ Release
on:
workflow_dispatch:
concurrency:
group: '${{ github.workflow }} @ ${{ github.ref }}'
cancel-in-progress: true
jobs:
release:
runs-on: ubuntu-latest
steps:
- name: πŸ’» Checkout current code ref
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: πŸ’Ό Configure Git user
run: |
git config user.name "gbh-devops-bot"
git config user.email "[email protected]"
- name: 🟒 Configure Node.js on runner
uses: actions/setup-node@v4
with:
node-version-file: '.tool-versions'
- name: πŸ“¦ Install package dependencies using lockfile
run: npm ci
- name: πŸš€ Run new version for production
run: npx release-it --ci
env:
GITHUB_TOKEN: ${{ secrets.DEVOPS_USER_TOKEN }}