Merge branch 'github-actions/testing' into chore/github-actions

This commit is contained in:
Timo De Meyst 2025-03-18 19:43:54 +01:00
commit f7222eafd6
4 changed files with 5 additions and 4 deletions

View file

@ -11,6 +11,7 @@ on:
pull_request: pull_request:
branches: branches:
- dev - dev
types: ["synchronize", "ready_for_review", "opened", "reopened"]
# Down scope as necessary via https://docs.github.com/en/actions/security-guides/automatic-token-authentication#modifying-the-permissions-for-the-github_token # Down scope as necessary via https://docs.github.com/en/actions/security-guides/automatic-token-authentication#modifying-the-permissions-for-the-github_token

View file

@ -8,6 +8,7 @@ on:
branches: [ "dev" ] branches: [ "dev" ]
pull_request: pull_request:
branches: [ "dev" ] branches: [ "dev" ]
types: ["synchronize", "ready_for_review", "opened", "reopened"]
jobs: jobs:
test: test:
@ -28,5 +29,4 @@ jobs:
node-version: ${{ matrix.node-version }} node-version: ${{ matrix.node-version }}
cache: 'npm' cache: 'npm'
- run: npm ci - run: npm ci
- run: npm run build --if-present
- run: npm run test:unit - run: npm run test:unit

View file

@ -13,6 +13,6 @@ export default defineConfig({
}, },
}, },
build: { build: {
target: 'esnext' //browsers can handle the latest ES features target: "esnext", //Browsers can handle the latest ES features
}, },
}); });

View file

@ -9,7 +9,7 @@
"format": "npm run format --ws", "format": "npm run format --ws",
"format-check": "npm run format-check --ws", "format-check": "npm run format-check --ws",
"lint": "npm run lint --ws", "lint": "npm run lint --ws",
"test:unit": "npm run test:unit --ws" "test:unit": "npm run test:unit -w backend -w frontend"
}, },
"workspaces": [ "workspaces": [
"backend", "backend",