Skip to content

Commit

Permalink
run pr-test CI on main branch too (mdn#8066)
Browse files Browse the repository at this point in the history
  • Loading branch information
peterbe authored Aug 18, 2021
1 parent 19c1b71 commit 4712165
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/pr-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,15 @@
name: PR Test

on:
# The reason for building once it's pushed to `main`, too, is an
# optimization. This way, when workflow is built on the `main` branch
# anything that's stored in the cache (e.g. node_modules) can be
# re-used by consecutive PRs in other branches.
# See https://docs.github.com/en/actions/guides/caching-dependencies-to-speed-up-workflows#restrictions-for-accessing-a-cache
# and https://github.community/t/how-come-the-actions-cache-is-failing-so-much-often/196279/3
push:
branches:
- main
pull_request:

jobs:
Expand Down

0 comments on commit 4712165

Please sign in to comment.