Skip to content

Commit

Permalink
Merge pull request #2 from gorrion-io/generate-templates
Browse files Browse the repository at this point in the history
Generate templates
  • Loading branch information
Siemko authored May 23, 2024
2 parents c8f7787 + d4b942e commit a5c53a1
Show file tree
Hide file tree
Showing 8 changed files with 2,427 additions and 1,026 deletions.
60 changes: 60 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
name: Release

on:
push:
branches: ["main"]

jobs:
setup:
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 2

- name: Setup pnpm
uses: pnpm/[email protected]
with:
run_install: false

- name: Setup node
uses: actions/setup-node@v3
with:
node-version: 20
cache: "pnpm"

- name: Get pnpm store directory
id: pnpm-cache
shell: bash
run: |
echo "STORE_PATH=$(pnpm store path)" >> $GITHUB_OUTPUT
- uses: actions/cache@v3
name: Setup pnpm cache
with:
path: ${{ steps.pnpm-cache.outputs.STORE_PATH }}
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-pnpm-store-
- name: Install deps (with cache)
run: pnpm install

- name: Run generator
run: pnpm run generate-template

- uses: actions/upload-artifact@v3
name: Upload clickup template
with:
name: clickup-template
path: ./clickup-template.csv
if-no-files-found: ignore

- uses: actions/upload-artifact@v3
name: Upload jira template
with:
name: jira-template
path: ./jira-template.csv
if-no-files-found: ignore
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,6 @@
.obsidian
.DS_Store
node_modules

clickup-template.csv
jira-template.csv
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# production-readiness-checklist

## 1.2.0

### Minor Changes

- add generator

## 1.1.0

### Minor Changes
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
| [CRON jobs should only be handled via one source of truth](./docs/12-crons.md) | Critical πŸ”΄ | Backend βš™οΈ, Deployment πŸš€ | |
| [All password related to the project should be shared via password manager only with corresponding group](./docs/13-passwords.md) | Critical πŸ”΄ | Security πŸ”’, Deployment πŸš€ | Do not share password, secrets etc. in messages nor host them on git |
| [The app should have a risk management and disaster recovery plan written down and available at any point](./docs/14-risk-management.md) | Critical πŸ”΄ | Monitoring πŸ‘€, Security πŸ”’, Deployment πŸš€ | |
| [The app has an uptime-monitoring system configured](15-uptime.md) | Should have 🟑 | Monitoring πŸ‘€, Backend βš™οΈ, Frontend πŸ–₯ | Leverage health checks. Recommended: https://instatus.com/ or https://betteruptime.com/ |
| [The app has an uptime-monitoring system configured](./docs/15-uptime.md) | Should have 🟑 | Monitoring πŸ‘€, Backend βš™οΈ, Frontend πŸ–₯ | Leverage health checks. Recommended: https://instatus.com/ or https://betteruptime.com/ |
| [The app has a logging solution configured](./docs/16-logging.md) | Should have 🟑 | Monitoring πŸ‘€, Backend βš™οΈ, Frontend πŸ–₯ | Recommended: AWS Cloudwatch or https://betterstack.com/logtail |
| [The auto-scaling solution is enabled](./docs/17-autoscaling.md) | Should have 🟑 | Deployment πŸš€, Backend βš™οΈ | |
| [The frontend should be checked periodically in terms of performance](./docs/18-front-perf.md) | Should have 🟑 | Frontend πŸ–₯ | At least test Core Web Vitals via Chrome Lighthouse |
Expand Down
12 changes: 10 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
{
"name": "production-readiness-checklist",
"version": "1.1.0",
"version": "1.2.0",
"description": "",
"type": "module",
"main": "index.js",
"scripts": {
"generate-template": "tsx ./scripts/generate-template.ts",
"changeset": "changeset",
"update:version": "changeset version"
},
Expand All @@ -12,6 +14,12 @@
"license": "ISC",
"packageManager": "[email protected]",
"dependencies": {
"@changesets/cli": "^2.27.3"
"@changesets/cli": "^2.27.3",
"remark": "^15.0.1",
"remark-gfm": "^4.0.0"
},
"devDependencies": {
"@types/node": "^20.12.12",
"tsx": "^4.11.0"
}
}
Loading

0 comments on commit a5c53a1

Please sign in to comment.