Skip to content

release

release #83

Workflow file for this run

# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json
name: release
on:
workflow_run:
workflows:
- test
branches:
- main
types:
- completed
concurrency: ${{ github.workflow }}-${{ github.ref }}
jobs:
release:
name: Release
if: ${{ github.repository == 'unlike-ltd/github-actions-cloudflare-pages' && github.event.workflow_run.conclusion == 'success' }}
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 #v4.1.1
- name: Setup Node.js Pnpm & install dependencies
uses: unlike-ltd/github-actions/setup-pnpm@4f6c1e5b04525aa73e680f900c9f588f868735e3 #v1.0.0
with:
node-version: 20
- name: Create Release Pull Request
id: changesets
uses: changesets/action@f13b1baaa620fde937751f5d2c3572b9da32af23 #v1.4.5
with:
publish: pnpm release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}