Skip to content

Merge pull request #64 from adhocteam/groundwork-adoption #24

Merge pull request #64 from adhocteam/groundwork-adoption

Merge pull request #64 from adhocteam/groundwork-adoption #24

Workflow file for this run

name: Release
on:
push:
branches:
- main
jobs:
release:
if: "!contains(github.event.head_commit.message, 'chore(release):')"
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
token: ${{ secrets.GITHUB_TOKEN }}
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '20'
- name: Install dependencies
working-directory: CompendiumUI
run: npm ci
- name: Configure Git User
run: |
git config --global user.name "github-actions[bot]"
git config --global user.email "github-actions[bot]@users.noreply.github.com"
- name: Create Release
working-directory: CompendiumUI
run: npm run release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Push Release
run: git push --follow-tags origin main
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}