Skip to content

Version Packages (#66) #33

Version Packages (#66)

Version Packages (#66) #33

Workflow file for this run

name: Release
on:
push:
branches:
- main
concurrency: ${{ github.workflow }}-${{ github.ref }}
permissions:
contents: write
issues: write
pull-requests: write
jobs:
release:
name: Release
if: github.repository == 'future-architect/vscode-uroborosql-fmt'
runs-on: ubuntu-latest
steps:
- name: Checkout Repo
uses: actions/checkout@v4
- name: Setup Node.js 18
uses: actions/setup-node@v4
with:
node-version: 18
- name: Install Dependencies
run: yarn
- name: Create Release Pull Request
id: changesets
uses: changesets/action@v1
with:
publish: npm run dummy-release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
outputs:
changesets_published: ${{ steps.changesets.outputs.published }}
invoke_publish:
needs: [release]
if: ${{ success() && needs.release.outputs.changesets_published == 'true'}}
uses: ./.github/workflows/publish.yml
secrets: inherit