Skip to content

Commit 0dbd4a9

Browse files
Basic gitignore, tool-versions & build pipelines for new monorepo (#253)
This PR does the following: - Updates build pipelines so that each app is only built if the commit contains changes to that app - Add top-level `.gitignore` - Add top-level `.tool-versions` --------- Co-authored-by: Matthew Orris <[email protected]>
1 parent cabcb64 commit 0dbd4a9

15 files changed

+146
-298
lines changed

.github/workflows/account-build.yml

+3
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@ on:
99
push:
1010
branches:
1111
- main
12+
paths:
13+
- .github/workflows/account-build.yml
14+
- services/account
1215

1316
jobs:
1417
build:

.github/workflows/content-publishing-build.yml

+3
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@ on:
99
push:
1010
branches:
1111
- main
12+
paths:
13+
- .github/workflows/content-publishing-build.yml
14+
- services/content-publishing
1215

1316
jobs:
1417
build:

.github/workflows/content-watcher-build.yml

+3
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@ on:
99
push:
1010
branches:
1111
- main
12+
paths:
13+
- .github/workflows/content-watcher-build.yml
14+
- services/content-watcher
1215

1316
jobs:
1417
build:

.github/workflows/graph-build.yml

+3
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@ on:
99
push:
1010
branches:
1111
- main
12+
paths:
13+
- .github/workflows/graph-build.yml
14+
- services/graph
1215

1316
jobs:
1417
build:

.github/workflows/issue-sync.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ concurrency:
44
group: ${{github.workflow}}-${{github.ref}}
55
cancel-in-progress: false
66
on:
7-
schedule:
8-
- cron: "* * * * *" # Every 5 minutes
7+
# schedule:
8+
# - cron: "* * * * *" # Every 5 minutes
99
workflow_dispatch: # Anytime someone hits the button
1010

1111
# How to Test

.github/workflows/milestone-sync.yaml

+2-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@ concurrency:
44
group: ${{github.workflow}}-${{github.ref}}
55
cancel-in-progress: false
66
on:
7-
milestone:
7+
# milestone:
8+
workflow_dispatch:
89

910
# Things to remember about milestone and issue syncing
1011
# 1. Everything is based on title matching. So if you change a milestone title, it will create new empty milestones, but the old ones will still be there.

.gitignore

+130-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,131 @@
11
docs/book
2-
.env*
2+
3+
# Logs
4+
logs
5+
*.log
6+
npm-debug.log*
7+
yarn-debug.log*
8+
yarn-error.log*
9+
lerna-debug.log*
10+
.pnpm-debug.log*
11+
12+
# Diagnostic reports (https://nodejs.org/api/report.html)
13+
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json
14+
15+
# Runtime data
16+
pids
17+
*.pid
18+
*.seed
19+
*.pid.lock
20+
21+
# Directory for instrumented libs generated by jscoverage/JSCover
22+
lib-cov
23+
24+
# Coverage directory used by tools like istanbul
25+
coverage
26+
*.lcov
27+
28+
# nyc test coverage
29+
.nyc_output
30+
31+
# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files)
32+
.grunt
33+
34+
# Bower dependency directory (https://bower.io/)
35+
bower_components
36+
37+
# node-waf configuration
38+
.lock-wscript
39+
40+
# Compiled binary addons (https://nodejs.org/api/addons.html)
41+
build/Release
42+
43+
# Dependency directories
44+
node_modules/
45+
jspm_packages/
46+
47+
# Snowpack dependency directory (https://snowpack.dev/)
48+
web_modules/
49+
50+
# TypeScript cache
51+
*.tsbuildinfo
52+
53+
# Optional npm cache directory
54+
.npm
55+
56+
# Optional eslint cache
57+
.eslintcache
58+
59+
# Optional stylelint cache
60+
.stylelintcache
61+
62+
# Microbundle cache
63+
.rpt2_cache/
64+
.rts2_cache_cjs/
65+
.rts2_cache_es/
66+
.rts2_cache_umd/
67+
68+
# Optional REPL history
69+
.node_repl_history
70+
71+
# Output of 'npm pack'
72+
*.tgz
73+
74+
# Yarn Integrity file
75+
.yarn-integrity
76+
77+
# dotenv environment variable files
78+
.env
79+
.env.*
80+
81+
# parcel-bundler cache (https://parceljs.org/)
82+
.cache
83+
.parcel-cache
84+
85+
# Next.js build output
86+
.next
87+
out
88+
89+
# Nuxt.js build / generate output
90+
.nuxt
91+
dist
92+
93+
# Gatsby files
94+
.cache/
95+
# Comment in the public line in if your project uses Gatsby and not Next.js
96+
# https://nextjs.org/blog/next-9-1#public-directory-support
97+
# public
98+
99+
# vuepress build output
100+
.vuepress/dist
101+
102+
# vuepress v2.x temp and cache directory
103+
.temp
104+
.cache
105+
106+
# Docusaurus cache and generated files
107+
.docusaurus
108+
109+
# Serverless directories
110+
.serverless/
111+
112+
# FuseBox cache
113+
.fusebox/
114+
115+
# DynamoDB Local files
116+
.dynamodb/
117+
118+
# TernJS port file
119+
.tern-port
120+
121+
# Stores VSCode versions used for testing VSCode extensions
122+
.vscode-test
123+
.vscode/settings.json
124+
125+
# yarn v2
126+
.yarn/cache
127+
.yarn/unplugged
128+
.yarn/build-state.yml
129+
.yarn/install-state.gz
130+
.pnp.*
131+
.idea/
File renamed without changes.

services/account/.gitignore

-136
This file was deleted.

services/content-publishing/.gitignore

-7
This file was deleted.

services/content-publishing/.tool-versions

-1
This file was deleted.

services/content-watcher/.gitignore

-10
This file was deleted.

services/content-watcher/.tool-versions

-1
This file was deleted.

0 commit comments

Comments
 (0)