Skip to content

Commit

Permalink
chore: finish monorepo setup
Browse files Browse the repository at this point in the history
Signed-off-by: Fernando Fernández <[email protected]>
  • Loading branch information
ferferga committed Oct 14, 2024
1 parent 4c4cdbc commit 297f791
Show file tree
Hide file tree
Showing 29 changed files with 827 additions and 1,190 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/__deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ env:

jobs:
cf-pages:
name: CloudFlare Pages 📃
name: Cloudflare Pages 📃
runs-on: ubuntu-latest
environment:
name: ${{ inputs.branch == 'master' && 'Production' || 'Preview' }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/__job_messages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ env:

jobs:
cf_pages_msg:
name: CloudFlare Pages deployment 📃🚀
name: Cloudflare Pages deployment 📃🚀
runs-on: ubuntu-latest

steps:
Expand Down
9 changes: 4 additions & 5 deletions .github/workflows/__quality_checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,9 @@ jobs:
command:
- lint
- check:types
- analyze:cycles
defaults:
run:
working-directory: frontend
include:
- workspace: frontend
command: analyze:cycles

steps:
- name: Checkout ⬇️
Expand All @@ -59,7 +58,7 @@ jobs:
run: npm ci --no-audit

- name: Run ${{ matrix.command }} ⚙️
run: npm run ${{ matrix.command }}
run: npm run ${{ matrix.command }} ${{ matrix.workspace && format('-w {0}', matrix.workspace) || '' }}

commits_checks:
name: Commit linting 💬✅
Expand Down
3 changes: 3 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@
"javascript",
"typescript"
],
"eslint.options": {
"flags": ["unstable_ts_config"]
},
"eslint.format.enable": true,
"eslint.useFlatConfig": true,
"eslint.workingDirectories": [
Expand Down
Loading

0 comments on commit 297f791

Please sign in to comment.