Skip to content

Commit

Permalink
chore(ci): set up changesets (#613)
Browse files Browse the repository at this point in the history
* chore: init configuration for semantic-release

* chore: semver

* chore(ci): add changeset configurations

* Update config.json

* add test changeset

* fix changelog location

* fix changelog location

* fix changelog location

* update misc

* update changeset

* update changelog location
  • Loading branch information
qwerzl authored Sep 14, 2024
1 parent 4739882 commit 156cbbc
Show file tree
Hide file tree
Showing 6 changed files with 628 additions and 1 deletion.
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",
"commit": false,
"changelog": ["@changesets/changelog-github", { "repo": "computerization/enspire" }],
"fixed": [],
"linked": [],
"access": "restricted",
"baseBranch": "next",
"updateInternalDependencies": "patch",
"ignore": []
}
14 changes: 14 additions & 0 deletions .changeset/smooth-pens-share.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
---
"enspire": major
---
👋 **Welcome to Enspire!**

C 社是服务类社团,其创始初心是为学校生活提供便利,如今我们发现,同学们 CAS 活动中遇到的管理、技术、宣传问题,是一个巨大的需求缺口。

Enspire 的目标很简单,**Make CAS life easier for everyone**. 我们希望通过 Enspire,让同学们能够更好地享受 CAS 活动,让社团能够更好地管理活动,让学校能够更好地支持活动。

虽然C社通过各种方法监控错误,但我们可能会遗漏一部分。如果您发现错误,请不要惊慌;错误在任何地方都存在。无论如何,我们都不会因为一次软件更新而导致数百万台电脑蓝屏 😏

如果您发现Bugs或想建议新功能,请在我们的 [GitHub](https://github.com/Computerization/Enspire/discussions/) 提出。

*Enjoy!*
29 changes: 29 additions & 0 deletions .github/workflows/semver.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Release

on:
push:
branches:
- next

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 }}
5 changes: 4 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"name": "nuxt-app",
"name": "enspire",
"type": "module",
"version": "0.0.0",
"private": true,
"scripts": {
"build": "nuxt build",
Expand All @@ -15,6 +16,7 @@
"typecheck": "vue-tsc --noEmit --skipLibCheck"
},
"dependencies": {
"@changesets/cli": "^2.27.8",
"@clerk/clerk-sdk-node": "^5.0.26",
"@clerk/themes": "^2.1.19",
"@nuxt/content": "^2.13.2",
Expand Down Expand Up @@ -47,6 +49,7 @@
},
"devDependencies": {
"@antfu/eslint-config": "^2.25.0",
"@changesets/changelog-github": "^0.5.0",
"@nuxt/fonts": "^0.7.1",
"@nuxt/image": "^1.7.0",
"@nuxtjs/google-fonts": "^3.2.0",
Expand Down
Loading

0 comments on commit 156cbbc

Please sign in to comment.