Update GH workflows
parent
d0325c13d1
commit
8d96b79a5b
|
@ -5,10 +5,8 @@ on:
|
||||||
- main
|
- main
|
||||||
# Embed e2e - tests verify booking flow which is applicable to non-embed case also. So, don't ignore apps/web changes.
|
# Embed e2e - tests verify booking flow which is applicable to non-embed case also. So, don't ignore apps/web changes.
|
||||||
paths:
|
paths:
|
||||||
- 'apps/web/**'
|
- /apps/web/**
|
||||||
- '!apps/web/public/**'
|
- /packages/embeds/**
|
||||||
- 'packages/embeds/**'
|
|
||||||
- '!**.md'
|
|
||||||
jobs:
|
jobs:
|
||||||
e2e-embed:
|
e2e-embed:
|
||||||
timeout-minutes: 20
|
timeout-minutes: 20
|
||||||
|
|
|
@ -4,8 +4,8 @@ on:
|
||||||
branches:
|
branches:
|
||||||
- main
|
- main
|
||||||
paths:
|
paths:
|
||||||
- '!apps/web/public/static/locales/**'
|
- /apps/web/**
|
||||||
- '!**.md'
|
- /packages/**
|
||||||
jobs:
|
jobs:
|
||||||
e2e:
|
e2e:
|
||||||
timeout-minutes: 20
|
timeout-minutes: 20
|
||||||
|
|
|
@ -4,7 +4,8 @@ on:
|
||||||
branches:
|
branches:
|
||||||
- main
|
- main
|
||||||
paths:
|
paths:
|
||||||
- '!**.md'
|
- '**.tsx?'
|
||||||
|
- '**.jsx?'
|
||||||
jobs:
|
jobs:
|
||||||
lint:
|
lint:
|
||||||
strategy:
|
strategy:
|
||||||
|
|
|
@ -1,11 +1,8 @@
|
||||||
---
|
|
||||||
name: "Meta Workflow: Require Conditional Status Checks"
|
name: "Meta Workflow: Require Conditional Status Checks"
|
||||||
|
|
||||||
on:
|
on:
|
||||||
pull_request:
|
pull_request:
|
||||||
branches:
|
branches:
|
||||||
- main
|
- main
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
required-checks:
|
required-checks:
|
||||||
strategy:
|
strategy:
|
||||||
|
@ -13,22 +10,31 @@ jobs:
|
||||||
node: ["16.x"]
|
node: ["16.x"]
|
||||||
os: [ubuntu-latest]
|
os: [ubuntu-latest]
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
timeout-minutes: 15
|
|
||||||
steps:
|
steps:
|
||||||
- name: Ensure All Conditional Checks Have Passed
|
- name: Ensure All Conditional Checks Have Passed
|
||||||
uses: blend/require-conditional-status-checks@2022.02.04
|
uses: blend/require-conditional-status-checks@2022.02.04
|
||||||
with:
|
with:
|
||||||
|
timeout: 15m
|
||||||
|
github-token: ${{ github.token }}
|
||||||
interval: 20s
|
interval: 20s
|
||||||
|
# Question marks aren't working
|
||||||
|
# @see https://github.com/blend/require-conditional-status-checks/pull/11
|
||||||
checks-yaml: |
|
checks-yaml: |
|
||||||
- job: lint
|
- job: lint
|
||||||
paths:
|
paths:
|
||||||
- '!**.md'
|
- /**/*.jsx
|
||||||
|
- /**/*.js
|
||||||
|
- /**/*.tsx
|
||||||
|
- /**/*.ts
|
||||||
- job: check-types
|
- job: check-types
|
||||||
paths:
|
paths:
|
||||||
- '**.tsx?'
|
- /**/*.tsx
|
||||||
|
- /**/*.ts
|
||||||
- job: e2e
|
- job: e2e
|
||||||
paths:
|
paths:
|
||||||
- '!**.md'
|
- /apps/web/**
|
||||||
|
- /packages/**
|
||||||
- job: e2e-embed
|
- job: e2e-embed
|
||||||
paths:
|
paths:
|
||||||
- '!**.md'
|
- /apps/web/**
|
||||||
|
- /packages/embeds/**
|
||||||
|
|
Loading…
Reference in New Issue