Merge branch 'github-actions/testing' into chore/github-actions
This commit is contained in:
commit
f7222eafd6
4 changed files with 5 additions and 4 deletions
1
.github/workflows/lint-action.yml
vendored
1
.github/workflows/lint-action.yml
vendored
|
@ -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
|
||||||
|
|
2
.github/workflows/testing.yml
vendored
2
.github/workflows/testing.yml
vendored
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|
|
@ -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",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue