Runs lint on all PRs to main (including external contributors) (#1502)
* Update lint.yml * Build and e2e on PRs
This commit is contained in:
parent
54be2a2ec1
commit
67bcbfd75a
3 changed files with 20 additions and 3 deletions
9
.github/workflows/build.yml
vendored
9
.github/workflows/build.yml
vendored
|
@ -1,5 +1,12 @@
|
||||||
name: Build
|
name: Build
|
||||||
on: [push]
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- main
|
||||||
|
- staging
|
||||||
|
pull_request:
|
||||||
|
branches:
|
||||||
|
- main
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
timeout-minutes: 5
|
timeout-minutes: 5
|
||||||
|
|
9
.github/workflows/e2e.yml
vendored
9
.github/workflows/e2e.yml
vendored
|
@ -1,5 +1,12 @@
|
||||||
name: E2E test
|
name: E2E test
|
||||||
on: [push]
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- main
|
||||||
|
- staging
|
||||||
|
pull_request:
|
||||||
|
branches:
|
||||||
|
- main
|
||||||
jobs:
|
jobs:
|
||||||
test:
|
test:
|
||||||
timeout-minutes: 10
|
timeout-minutes: 10
|
||||||
|
|
5
.github/workflows/lint.yml
vendored
5
.github/workflows/lint.yml
vendored
|
@ -1,5 +1,8 @@
|
||||||
name: Lint
|
name: Lint
|
||||||
on: [push]
|
on:
|
||||||
|
pull_request:
|
||||||
|
branches:
|
||||||
|
- main
|
||||||
jobs:
|
jobs:
|
||||||
lint:
|
lint:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
Loading…
Reference in a new issue