mirror of
https://github.com/meshtastic/web.git
synced 2026-04-24 16:00:32 -04:00
Fix tsc errors (#649)
* fixed tsc errors * fixed tsc errors * fixed tsc errors * fixing tsc errors * fixing more tsc errors * fixing more tsc errors * fixed tsc errors * fixing tsc errors * fixing PR issues * commented out tsc check * completing tsc fixes * updating lockfile * removed react-hooks
This commit is contained in:
2
.github/pull_request_template.md
vendored
2
.github/pull_request_template.md
vendored
@@ -46,4 +46,4 @@ Check all that apply. If an item doesn't apply to your PR, you can leave it unch
|
||||
- [ ] Code follows project style guidelines
|
||||
- [ ] Documentation has been updated or added
|
||||
- [ ] Tests have been added or updated
|
||||
- [ ] All i18n translation labels have bee added
|
||||
- [ ] All i18n translation labels have been added/updated
|
||||
|
||||
25
.github/workflows/pr.yml
vendored
25
.github/workflows/pr.yml
vendored
@@ -24,18 +24,33 @@ jobs:
|
||||
key: ${{ runner.os }}-deno-${{ hashFiles('**/deno.lock') }}
|
||||
restore-keys: |
|
||||
${{ runner.os }}-deno-
|
||||
|
||||
|
||||
- name: Install Dependencies
|
||||
run: deno install
|
||||
|
||||
- name: Cache Dependencies
|
||||
run: deno cache src/index.tsx
|
||||
|
||||
- name: Run linter
|
||||
run: deno task lint
|
||||
- name: Get changed files
|
||||
id: changed-files
|
||||
uses: tj-actions/changed-files@v44
|
||||
with:
|
||||
files: |
|
||||
**/*.ts
|
||||
**/*.tsx
|
||||
|
||||
- name: Check formatter
|
||||
run: deno task format --check
|
||||
# Uncomment the following lines when you have figured out how to ignore files
|
||||
# - name: Type check changed files
|
||||
# if: steps.changed-files.outputs.all_changed_files != ''
|
||||
# run: deno check ${{ steps.changed-files.outputs.all_changed_files }}
|
||||
|
||||
- name: Run linter on changed files
|
||||
if: steps.changed-files.outputs.all_changed_files != ''
|
||||
run: deno task lint ${{ steps.changed-files.outputs.all_changed_files }}
|
||||
|
||||
- name: Check format on changed files
|
||||
if: steps.changed-files.outputs.all_changed_files != ''
|
||||
run: deno task format --check ${{ steps.changed-files.outputs.all_changed_files }}
|
||||
|
||||
- name: Run tests
|
||||
run: deno task test
|
||||
|
||||
Reference in New Issue
Block a user