-
Notifications
You must be signed in to change notification settings - Fork 4
46 lines (46 loc) · 1.13 KB
/
solid.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
35
36
37
38
39
40
41
42
43
44
45
46
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