Check for target contentWindow before posting a message #892
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: CI | |
on: | |
push: | |
branches: | |
- main | |
- changeset-release/* | |
pull_request: | |
jobs: | |
type-check: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: ./.github/workflows/actions/prepare | |
- id: typescript-cache | |
name: Restore TypeScript cache | |
uses: actions/cache@v1 | |
with: | |
path: | | |
packages/*/build/ts | |
packages/*/build/*.tsbuildinfo | |
key: ${{ runner.os }}-typescript-v1-${{ github.sha }} | |
restore-keys: | | |
${{ runner.os }}-typescript-v1- | |
- name: Type check | |
run: yarn type-check | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: ./.github/workflows/actions/prepare | |
- id: jest-cache | |
name: Restore jest cache | |
uses: actions/cache@v1 | |
with: | |
path: .loom/cache/jest/ | |
key: ${{ runner.os }}-jest-v1-${{ github.sha }} | |
restore-keys: | | |
${{ runner.os }}-jest-v1- | |
- name: Test | |
run: yarn test | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: ./.github/workflows/actions/prepare | |
- id: eslint-cache | |
name: Restore ESLint cache | |
uses: actions/cache@v1 | |
with: | |
path: .loom/cache/eslint | |
key: ${{ runner.os }}-eslint-v1-${{ github.sha }} | |
restore-keys: | | |
${{ runner.os }}-eslint-v1- | |
- name: Lint | |
run: yarn lint |