Added typescript support for code snippets #59
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Solid Renderer Pipeline | |
on: | |
pull_request: | |
branches: | |
- '*' | |
paths: | |
- packages/renderers/solid/** | |
push: | |
branches: | |
- main | |
paths: | |
- packages/renderers/solid/** | |
release: | |
types: [published] | |
branches: | |
- main | |
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' | |
run: yarn npm publish | |
working-directory: packages/renderers/solid | |
env: | |
YARN_NPM_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} |