mirror of
https://github.com/webstudio-is/webstudio.git
synced 2025-03-15 09:45:09 +00:00
## Description ref #2645 Proof of Concept for the Animation Component Using ScrollTimeline For FF and Safari `scroll-timeline-polyfill` is used. SSR Support https://animate.development.webstudio.is/playground Storybook Part 1. https://6382151c8b47d4399fb9fc69-limlyrmprp.chromatic.com/?path=/story/sdk-components-animation-scroll-animations--in-out Next steps: - Add stories with additional examples i.e. closest usage, images etc. https://scroll-driven-animations.style/ - Add support to view animations - Add view animations examples - Add enter/leave actions and animations support - Builder UI - Add lottie, rive etc compatibility (should work through context.getAnimations()[0].effect.getComputedTiming().progress) ## Steps for reproduction 1. click button 2. expect xyz ## Code Review - [ ] hi @kof, I need you to do - conceptual review (architecture, feature-correctness) - detailed review (read every line) - test it on preview ## Before requesting a review - [ ] made a self-review - [ ] added inline comments where things may be not obvious (the "why", not "what") ## Before merging - [ ] tested locally and on preview environment (preview dev login: 0000) - [ ] updated [test cases](https://github.com/webstudio-is/webstudio/blob/main/apps/builder/docs/test-cases.md) document - [ ] added tests - [ ] if any new env variables are added, added them to `.env` file
47 lines
1.3 KiB
YAML
47 lines
1.3 KiB
YAML
name: CI setup
|
|
|
|
description: |
|
|
Sets up the CI environment for the project.
|
|
|
|
inputs:
|
|
submodules-ssh-key:
|
|
description: "The SSH key to private submodules to use for the checkout"
|
|
required: true
|
|
|
|
runs:
|
|
using: "composite"
|
|
|
|
steps:
|
|
- name: Set up SSH for Git
|
|
if: ${{ inputs.submodules-ssh-key }}
|
|
run: |
|
|
mkdir -p ~/.ssh
|
|
echo "${{ inputs.submodules-ssh-key }}" > ~/.ssh/id_ed25519
|
|
chmod 600 ~/.ssh/id_ed25519
|
|
ssh-keyscan github.com >> ~/.ssh/known_hosts
|
|
shell: bash
|
|
|
|
- name: Verify SSH Connection (Optional)
|
|
if: ${{ inputs.submodules-ssh-key }}
|
|
run: |
|
|
ssh -T git@github.com || true
|
|
shell: bash
|
|
|
|
- name: Verify SSH Connection (Optional)
|
|
if: ${{ inputs.submodules-ssh-key }}
|
|
run: |
|
|
echo Branch is ${{ github.event.pull_request.head.ref || github.ref_name }}
|
|
shell: bash
|
|
|
|
- name: Try checkout submodules to the same branch as main repo
|
|
if: ${{ inputs.submodules-ssh-key }}
|
|
run: |
|
|
./submodules.sh ${{ github.event.pull_request.head.ref || github.ref_name }}
|
|
shell: bash
|
|
|
|
- name: Show main readme
|
|
if: ${{ inputs.submodules-ssh-key }}
|
|
run: |
|
|
cat ./packages/sdk-components-animation/private-src/README.md || echo "No README found"
|
|
shell: bash
|