Started refactoring, added prettier and checks and reformatted project, added cspell and checks and custom project words, beginning of robotic oceanographic surface sampler content
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
name: Playwright Tests
|
||||
on:
|
||||
push:
|
||||
branches: [ main, master ]
|
||||
branches: [main, master]
|
||||
pull_request:
|
||||
branches: [ main, master ]
|
||||
branches: [main, master]
|
||||
jobs:
|
||||
test:
|
||||
timeout-minutes: 60
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
name: Build and Test - Production
|
||||
on:
|
||||
push:
|
||||
branches: [ main ]
|
||||
branches: [main]
|
||||
|
||||
jobs:
|
||||
test:
|
||||
@@ -22,6 +22,12 @@ jobs:
|
||||
npm ci
|
||||
npx playwright install --with-deps
|
||||
|
||||
- name: Code Formatting Check
|
||||
run: npx prettier . --check
|
||||
|
||||
- name: Spelling Check
|
||||
run: npx cspell .
|
||||
|
||||
- name: Build Project
|
||||
run: npm run build
|
||||
|
||||
@@ -98,4 +104,4 @@ jobs:
|
||||
-H 'accept: */*' \
|
||||
-H 'Authorization: Bearer ${{ secrets.TRUENAS_CAPERRENCOM_API_KEY }}' \
|
||||
-H 'Content-Type: application/json' \
|
||||
-d '"caperren-com"'
|
||||
-d '"caperren-com"'
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
name: Build and Test - Staging
|
||||
on:
|
||||
pull_request:
|
||||
types: [ opened, synchronize, reopened ]
|
||||
types: [opened, synchronize, reopened]
|
||||
|
||||
jobs:
|
||||
test:
|
||||
@@ -24,6 +24,12 @@ jobs:
|
||||
npm ci
|
||||
npx playwright install --with-deps
|
||||
|
||||
- name: Code Formatting Check
|
||||
run: npx prettier . --check
|
||||
|
||||
- name: Spelling Check
|
||||
run: npx cspell .
|
||||
|
||||
- name: Build Project
|
||||
run: npm run build
|
||||
|
||||
@@ -100,4 +106,4 @@ jobs:
|
||||
-H 'accept: */*' \
|
||||
-H 'Authorization: Bearer ${{ secrets.TRUENAS_CAPERRENCOM_API_KEY }}' \
|
||||
-H 'Content-Type: application/json' \
|
||||
-d '"caperren-com-stg"'
|
||||
-d '"caperren-com-stg"'
|
||||
|
||||
Reference in New Issue
Block a user