Skip to content

Commit

Permalink
Showing 1 changed file with 15 additions and 8 deletions.
23 changes: 15 additions & 8 deletions .github/workflows/refine-registry-release.yml
Original file line number Diff line number Diff line change
@@ -1,17 +1,24 @@
name: Refine Registry Release

on:
workflow_dispatch:
inputs:
release-only:
type: boolean
default: false
description: "If true, tests will be skipped."
push:
paths:
- ".changeset/**"
- "packages/**"
branches:
- next

env:
RELEASE_ONLY: ${{ secrets.RELEASE_ONLY }}

jobs:
publish:
runs-on: ubuntu-latest


strategy:
matrix:
node-version: [18.x]
@@ -37,19 +44,19 @@ jobs:
run: pnpm install
- name: Lint
run: pnpm lint:ci
if: ${{ env.RELEASE_ONLY != 'YES' }}
if: ${{ github.event.inputs.release-only != 'true' }}
- name: Syncpack
run: pnpm sp lint
if: ${{ env.RELEASE_ONLY != 'YES' }}
if: ${{ github.event.inputs.release-only != 'true' }}
- name: Publint
run: pnpm publint:all
if: ${{ env.RELEASE_ONLY != 'YES' }}
if: ${{ github.event.inputs.release-only != 'true' }}
- name: Are The Types Wrong
run: pnpm attw:all
if: ${{ env.RELEASE_ONLY != 'YES' }}
if: ${{ github.event.inputs.release-only != 'true' }}
- name: Test
run: pnpm test:all
if: ${{ env.RELEASE_ONLY != 'YES' }}
if: ${{ github.event.inputs.release-only != 'true' }}
- name: Prepare Community Edition changesets
run: node .github/workflows/scripts/changesets/prepare-community-edition-changesets.js
- name: Create Release Pull Request or Publish to npm

0 comments on commit 02f280c

Please sign in to comment.