Skip to content

Commit

Permalink
ci: fix the triggers
Browse files Browse the repository at this point in the history
  • Loading branch information
wewoor committed Feb 3, 2021
1 parent a81c366 commit f1bbbcf
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,12 @@

name: CI

# Controls when the action will run.
on: [push, pull_request] # Triggers the workflow on push or pull request events

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
# Triggers the workflow on push or pull request events but only for the master branch
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]

# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
Expand All @@ -18,6 +19,7 @@ jobs:

static-checking:
runs-on: ubuntu-latest
needs: [install]
steps:
- name: Run Check Types
run: yarn check-types
Expand Down

0 comments on commit f1bbbcf

Please sign in to comment.