Skip to content

fix: github actions

fix: github actions #2

Workflow file for this run

name: build-release
on:
push:
branches:
- 'main'
paths:
- 'templates/**'
- 'manifest.yaml'
- 'stencil.yaml'
permissions: write-all
jobs:
build-and-test:
name: Build and Test
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install Tool Versions
uses: jdx/mise-action@052520c41a328779551db19a76697ffa34f3eabc
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Build Test repo
shell: bash
run: mise run buildtest
build-release:
name: Build and Release
needs: build-and-test
runs-on: ubuntu-latest
permissions: write-all
steps:
- name: Checkout
uses: actions/checkout@v4
with:
token: ${{ secrets.GITHUB_TOKEN }}
- name: Install Tool Versions
uses: jdx/mise-action@052520c41a328779551db19a76697ffa34f3eabc
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Install Semantic-Release
run: npm ci
- name: Release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: npx semantic-release