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