mirror of
https://github.com/IT4Change/gradido.git
synced 2026-02-06 09:56:05 +00:00
finetuning workflows
This commit is contained in:
parent
ee7b35a154
commit
17637960e4
28
.github/workflows/lint.yml
vendored
Normal file
28
.github/workflows/lint.yml
vendored
Normal file
@ -0,0 +1,28 @@
|
||||
name: Linting with biomejs
|
||||
|
||||
on: push
|
||||
|
||||
jobs:
|
||||
lint:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
- name: Setup Biome
|
||||
uses: biomejs/setup-biome@v2
|
||||
with:
|
||||
version: latest
|
||||
- name: Lint - Config-Schema
|
||||
run: biome ci ./config-schema
|
||||
- name: Lint - Backend
|
||||
run: biome ci ./backend
|
||||
- name: Lint - Frontend
|
||||
run: biome ci ./frontend
|
||||
- name: Lint - Admin
|
||||
run: biome ci ./admin
|
||||
- name: Lint - Database
|
||||
run: biome ci ./database
|
||||
- name: Lint - DHT Node
|
||||
run: biome ci ./dht-node
|
||||
- name: Lint - Federation
|
||||
run: biome ci ./federation
|
||||
3
.github/workflows/test_e2e.yml
vendored
3
.github/workflows/test_e2e.yml
vendored
@ -38,7 +38,8 @@ jobs:
|
||||
cd backend
|
||||
cp .env.test_e2e .env
|
||||
cd ..
|
||||
bun turbo backend#build frontend#build
|
||||
bun turbo backend#build
|
||||
bun turbo frontend#build
|
||||
bun turbo backend#start frontend#start --env-mode=loose &
|
||||
|
||||
- name: End-to-end tests | prepare
|
||||
|
||||
@ -4,7 +4,6 @@
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"dev": "concurrently \"yarn watch-scss\" \"vite\"",
|
||||
"prebuild": "yarn compile-scss",
|
||||
"build": "vite build",
|
||||
"start": "vite preview",
|
||||
"postbuild": "uname | grep -q Linux && find build -type f -regex '.*\\.\\(html\\|js\\|css\\|svg\\|json\\)' -exec gzip -9 -k {} + || echo 'Skip precompress on non-Linux'",
|
||||
|
||||
@ -11,9 +11,6 @@
|
||||
"cache": false,
|
||||
"persistent": true
|
||||
},
|
||||
"dev": {
|
||||
"dependsOn": ["compile-scss"]
|
||||
},
|
||||
"build": {
|
||||
"dependsOn": ["compile-scss"]
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user