feat(schema): update component can get and sku but not both #239
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: GitHub Pages | |
on: | |
push: | |
paths: | |
- 'apps/**/*' | |
- 'components/**/*' | |
- '.github/workflows/gh-pages.yaml' | |
branches: | |
- main | |
jobs: | |
deploy: | |
name: 🚀 Deploy on Github.io | |
runs-on: ubuntu-latest | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
steps: | |
- name: ⬇️ Checkout repo | |
uses: actions/checkout@v4 | |
- name: ⎔ Setup node | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 20 | |
- name: ⎔ Set up pnpm | |
uses: pnpm/action-setup@v4 | |
with: | |
version: 9.5.0 | |
- name: Set .homepage in package.json | |
uses: jossef/action-set-json-field@v2 | |
with: | |
file: apps/demo/package.json | |
field: homepage | |
value: libraries | |
- name: 🥖 Build the React App | |
run: | | |
pnpm install | |
pnpm build --filter @crystallize/demo-app | |
- name: 🍿 Deploy | |
uses: peaceiris/actions-gh-pages@v3 | |
if: ${{ github.ref == 'refs/heads/main' }} | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
publish_dir: ./apps/demo/dist | |
keep_files: true |