Skip to content

ci(repo): Enable workflow to be triggered manually #5

ci(repo): Enable workflow to be triggered manually

ci(repo): Enable workflow to be triggered manually #5

Workflow file for this run

name: Release
on:
push:
branches:
- main
workflow_dispatch

Check failure on line 7 in .github/workflows/release.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/release.yml

Invalid workflow file

You have an error in your yaml syntax on line 7
concurrency: ${{ github.workflow }}-${{ github.ref }}
jobs:
release:
name: Release
runs-on: ubuntu-latest
steps:
- name: Checkout Repo
uses: actions/checkout@v4
- uses: oven-sh/setup-bun@v1
- name: Install Dependencies
run: bun install
- name: Create Release Pull Request or Publish to npm
id: changesets
uses: changesets/action@v1
with:
publish: bun run release
version: bun run version-packages
commit: 'chore(repo): Version packages'
title: 'chore(repo): Version packages'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}