Skip to content

Commit

Permalink
Attempt to move release process to use changesets
Browse files Browse the repository at this point in the history
  • Loading branch information
AdiRishi committed Nov 29, 2023
1 parent 469d1cb commit b524539
Show file tree
Hide file tree
Showing 6 changed files with 1,647 additions and 17 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": "master",
"updateInternalDependencies": "patch",
"ignore": []
}
5 changes: 5 additions & 0 deletions .changeset/violet-ducks-act.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'turborepo-remote-cache-cf': minor
---

Move release process to changesets cli
33 changes: 33 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Release

on:
push:
branches:
- master

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

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

- name: Setup pnpm and node
uses: pnpm/action-setup@v2
with:
version: 8
- uses: actions/setup-node@v4
with:
node-version: 18
cache: 'pnpm'

- name: Install Dependencies
run: pnpm install

- name: Create Release Pull Request
uses: changesets/action@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"turborepo",
"cloudflare-r2"
],
"version": "1.0.0",
"version": "2.5.0",
"author": {
"email": "[email protected]",
"name": "Adishwar Rishi",
Expand Down Expand Up @@ -41,6 +41,7 @@
"typecheck": "tsc --noEmit"
},
"devDependencies": {
"@changesets/cli": "^2.27.1",
"@cloudflare/workers-types": "^4.20231121.0",
"@typescript-eslint/eslint-plugin": "^6.13.1",
"@typescript-eslint/parser": "^6.13.1",
Expand Down
Loading

0 comments on commit b524539

Please sign in to comment.