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:
|
||||
branches:
|
||||
- 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
|
||||
|
|
2
.github/workflows/testing.yml
vendored
2
.github/workflows/testing.yml
vendored
|
@ -8,6 +8,7 @@ on:
|
|||
branches: [ "dev" ]
|
||||
pull_request:
|
||||
branches: [ "dev" ]
|
||||
types: ["synchronize", "ready_for_review", "opened", "reopened"]
|
||||
|
||||
jobs:
|
||||
test:
|
||||
|
@ -28,5 +29,4 @@ jobs:
|
|||
node-version: ${{ matrix.node-version }}
|
||||
cache: 'npm'
|
||||
- run: npm ci
|
||||
- run: npm run build --if-present
|
||||
- run: npm run test:unit
|
||||
|
|
|
@ -13,6 +13,6 @@ export default defineConfig({
|
|||
},
|
||||
},
|
||||
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-check": "npm run format-check --ws",
|
||||
"lint": "npm run lint --ws",
|
||||
"test:unit": "npm run test:unit --ws"
|
||||
"test:unit": "npm run test:unit -w backend -w frontend"
|
||||
},
|
||||
"workspaces": [
|
||||
"backend",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue