Runs lint on all PRs to main (including external contributors) (#1502)

* Update lint.yml

* Build and e2e on PRs
This commit is contained in:
Omar López
2022-01-13 18:09:37 +00:00
committed by GitHub
parent 54be2a2ec1
commit 67bcbfd75a
3 changed files with 20 additions and 3 deletions
+8 -1
View File
@@ -1,5 +1,12 @@
name: Build
on: [push]
on:
push:
branches:
- main
- staging
pull_request:
branches:
- main
jobs:
build:
timeout-minutes: 5
+8 -1
View File
@@ -1,5 +1,12 @@
name: E2E test
on: [push]
on:
push:
branches:
- main
- staging
pull_request:
branches:
- main
jobs:
test:
timeout-minutes: 10
+4 -1
View File
@@ -1,5 +1,8 @@
name: Lint
on: [push]
on:
pull_request:
branches:
- main
jobs:
lint:
runs-on: ubuntu-latest