generated from actions/typescript-action
-
-
Notifications
You must be signed in to change notification settings - Fork 0
34 lines (30 loc) · 896 Bytes
/
release.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# 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/[email protected]
- name: Setup Node.js Pnpm & install dependencies
uses: unlike-ltd/github-actions/[email protected]
with:
node-version: 20
- name: Create Release Pull Request
id: changesets
uses: changesets/[email protected]
with:
publish: pnpm release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}