Trigger stickyChange when attaching viewport #20
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: Build & Test | |
on: | |
push: | |
branches: | |
- master | |
- release/** | |
pull_request: | |
branches: | |
- master | |
jobs: | |
test-and-build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Setup node | |
uses: actions/setup-node@v3 | |
with: | |
node-version: '14' | |
cache: 'yarn' | |
- name: Install dependencies | |
run: yarn install --immutable --immutable-cache --check-cache | |
- name: Lint lib | |
run: yarn run lint | |
- name: Lint demo | |
run: yarn run lint:demo | |
- name: Unit tests | |
run: yarn run test | |
- name: Component tests | |
run: yarn run e2e:ci | |
- name: Upload test result | |
uses: actions/upload-artifact@v3 | |
if: failure() | |
with: | |
name: cypress-results | |
path: | | |
./test-results/screenshots | |
./test-results/videos | |
- name: Build lib | |
run: yarn run build | |
- name: Build demo | |
run: yarn run build:demo |