Skip to content

Commit

Permalink
Merge pull request #77 from mattf96s/chore/add-changesets-cicd
Browse files Browse the repository at this point in the history
chore(deployment): add changesets
  • Loading branch information
mattf96s authored May 14, 2024
2 parents 1893de8 + 950cd0b commit 5d64606
Show file tree
Hide file tree
Showing 6 changed files with 1,031 additions and 9 deletions.
8 changes: 8 additions & 0 deletions .changeset/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Changesets

Hello and welcome! This folder has been automatically generated by `@changesets/cli`, a build tool that works
with multi-package repos, or single-package repos to help you version and publish your code. You can
find the full documentation for it [in our repository](https://github.com/changesets/changesets)

We have a quick list of common questions to get you started engaging with this project in
[our documentation](https://github.com/changesets/changesets/blob/main/docs/common-questions.md)
11 changes: 11 additions & 0 deletions .changeset/config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"$schema": "https://unpkg.com/@changesets/[email protected]/schema.json",
"changelog": "@changesets/cli/changelog",
"commit": false,
"fixed": [],
"linked": [],
"access": "restricted",
"baseBranch": "main",
"updateInternalDependencies": "patch",
"ignore": []
}
29 changes: 29 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Release

on:
push:
branches:
- main

concurrency: ${{ github.workflow }}-${{ github.ref }}

jobs:
release:
name: Release
runs-on: ubuntu-latest
steps:
- name: Checkout Repo
uses: actions/checkout@v3

- name: Setup Node.js 20
uses: actions/setup-node@v3
with:
node-version: 20

- name: Install Dependencies
run: yarn

- name: Create Release Pull Request
uses: changesets/action@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
20 changes: 17 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,18 @@
"version": "0.0.2",
"private": true,
"type": "module",
"license": "MIT",
"repository": {
"url": "https://github.com/mattf96s/quackdb"
},
"author": {
"name": "Matthew Fainman"
"name": "Matthew Fainman",
"url": "https://www.matthewfainman.com/"
},
"workspaces": [
"apps/*",
"packages/*"
],
"description": "QuackDB - An online DuckDB SQL playground and editor",
"scripts": {
"build": "turbo run build",
Expand All @@ -18,17 +24,25 @@
"format": "turbo run format",
"sso": "aws sso login --sso-session=d-93675d34f6",
"set-node-v": "pnpm env use --global 20",
"typecheck": "turbo run typecheck"
"typecheck": "turbo run typecheck",
"knip": "knip",
"release": "changeset version"
},
"devDependencies": {
"@biomejs/biome": "^1.7.3",
"@changesets/changelog-github": "^0.5.0",
"@changesets/cli": "^2.27.1",
"@commitlint/cli": "^19.3.0",
"@commitlint/config-conventional": "^19.2.2",
"@types/node": "20.12.11",
"conventional-changelog-conventionalcommits": "^8.0.0",
"dotenv-cli": "^7.4.2",
"husky": "^8.0.3",
"knip": "^5.15.1",
"lint-staged": "^15.2.2",
"prettier": "^3.2.5",
"turbo": "^1.13.3"
"turbo": "^1.13.3",
"typescript": "^5.4.5"
},
"engines": {
"node": ">=20"
Expand Down
Loading

0 comments on commit 5d64606

Please sign in to comment.