Skip to content

1.0.0-beta.6: Improve code snippets and CD #65

1.0.0-beta.6: Improve code snippets and CD

1.0.0-beta.6: Improve code snippets and CD #65

Workflow file for this run

name: Solid Renderer Pipeline
on:
pull_request:
branches:
- '*'
paths:
- packages/renderers/solid/**
push:
branches:
- main
paths:
- packages/renderers/solid/**
release:
types: [published]
workflow_dispatch:
inputs:
publish:
description: Publish?
required: false
type: boolean
default: false
defaults:
run:
working-directory: packages/renderers/solid
jobs:
solid-workflow:
runs-on: ubuntu-latest
name: Lib workflow
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/setup
- name: Check bundling
run: yarn check
working-directory: packages/renderers/solid
- name: Publish to NPM
if: github.event_name == 'release' || inputs.publish
run: yarn npm publish
working-directory: packages/renderers/solid
env:
YARN_NPM_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
solid-vite-workflow:
needs: solid-workflow
uses: ./.github/workflows/solid-vite.yml
with:
publish: ${{ (github.event_name == 'release') || (inputs.publish == true) }}
secrets: inherit