Pre-Demo Updates #75
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Perfrom Type and Formatting checks on a/an new/edited pull request. | |
on: | |
workflow_dispatch: | |
pull_request: | |
types: [opened, edited, synchronize] | |
jobs: | |
perfrom-type-and-formatting-check: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out repo | |
uses: actions/checkout@v2 | |
- name: Setup Node 16 | |
uses: actions/setup-node@v2 | |
with: | |
node-version: '16' | |
- name: Install Node Modules | |
run: npm install | |
- name: Run Linting script on src | |
run: npm run lint |