mirror of
https://github.com/rommapp/romm.git
synced 2026-02-19 07:50:57 +01:00
Fix to AdditionalContent types
This commit is contained in:
12
.github/workflows/pytest.yml
vendored
12
.github/workflows/pytest.yml
vendored
@@ -2,17 +2,13 @@ name: Run Pytest
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
paths-ignore:
|
||||
- "docker/**"
|
||||
- "examples/*"
|
||||
- "frontend/**"
|
||||
paths:
|
||||
- "backend/**"
|
||||
push:
|
||||
branches:
|
||||
- "master"
|
||||
paths-ignore:
|
||||
- "docker/**"
|
||||
- "examples/*"
|
||||
- "frontend/**"
|
||||
paths:
|
||||
- "backend/**"
|
||||
|
||||
permissions: read-all
|
||||
|
||||
|
||||
36
.github/workflows/typecheck.yml
vendored
Normal file
36
.github/workflows/typecheck.yml
vendored
Normal file
@@ -0,0 +1,36 @@
|
||||
name: Run Typescript Typecheck
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
paths:
|
||||
- "frontend/**"
|
||||
push:
|
||||
branches:
|
||||
- "master"
|
||||
paths:
|
||||
- "frontend/**"
|
||||
|
||||
permissions: read-all
|
||||
|
||||
jobs:
|
||||
typecheck:
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
checks: write
|
||||
pull-requests: write
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: Set up Node.js
|
||||
uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: "18"
|
||||
|
||||
- name: Install dependencies
|
||||
run: npm install
|
||||
working-directory: frontend
|
||||
|
||||
- name: Run typecheck
|
||||
run: npm run typecheck
|
||||
working-directory: frontend
|
||||
Reference in New Issue
Block a user