mirror of
https://github.com/standardnotes/app.git
synced 2026-01-16 23:01:30 +00:00
fix: add type checking before deploying changes to master
This commit is contained in:
parent
7f4bcdeec5
commit
83bf5d7192
2 changed files with 21 additions and 1 deletions
2
.github/workflows/pr.yml
vendored
2
.github/workflows/pr.yml
vendored
|
|
@ -1,4 +1,4 @@
|
|||
name: Check pull request
|
||||
name: Pull request
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
|
|
|
|||
20
.github/workflows/prod.yml
vendored
20
.github/workflows/prod.yml
vendored
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue