diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index 744200fca..919dce6bc 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -1,4 +1,4 @@ -name: Check pull request +name: Pull request on: pull_request: diff --git a/.github/workflows/prod.yml b/.github/workflows/prod.yml index 9d5c420b8..e0feeaf9c 100644 --- a/.github/workflows/prod.yml +++ b/.github/workflows/prod.yml @@ -5,10 +5,30 @@ on: branches: [ master ] jobs: + + tsc: + + name: Check types + + runs-on: ubuntu-latest + + steps: + + - name: Checkout code + uses: actions/checkout@v2 + + - name: Install dependencies + run: npm ci + + - name: Typescript + run: npm run tsc + deploy: runs-on: ubuntu-latest + needs: tsc + steps: - uses: actions/checkout@v2