Skip to content

Commit d913049

Browse files
committed
chore(semifold): setup semifold and ci
1 parent 3277e97 commit d913049

File tree

8 files changed

+99
-169
lines changed

8 files changed

+99
-169
lines changed

.changes/config.json

Lines changed: 0 additions & 28 deletions
This file was deleted.

.changes/config.toml

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
[branches]
2+
base = "main"
3+
release = "release"
4+
5+
[tags]
6+
chore = "Chores"
7+
feat = "New Features"
8+
fix = "Bug Fixes"
9+
perf = "Performance Improvements"
10+
refactor = "Refactors"
11+
12+
[packages."@matechat/react"]
13+
path = "."
14+
resolver = "nodejs"
15+
version-mode = { pre-release.tag = "rc" }
16+
17+
[packages."@matechat/react-docs"]
18+
path = "docs"
19+
resolver = "nodejs"
20+
21+
[packages."@matechat/react-playground"]
22+
path = "playground"
23+
resolver = "nodejs"
24+
25+
[resolver.nodejs.pre-check]
26+
url = "https://registry.npmjs.org/{{ package.name }}/{{ package.version }}"
27+
28+
[[resolver.nodejs.publish]]
29+
command = "npm"
30+
args = ["publish"]
31+
32+
[[resolver.nodejs.post-version]]
33+
command = "pnpm"
34+
args = ["install"]

.changes/pre.json

Lines changed: 0 additions & 29 deletions
This file was deleted.

.changes/readme.md

Lines changed: 0 additions & 31 deletions
This file was deleted.

.github/workflows/covector-status.yml

Lines changed: 0 additions & 21 deletions
This file was deleted.

.github/workflows/covector-version-or-publish.yml

Lines changed: 0 additions & 60 deletions
This file was deleted.

.github/workflows/semifold-ci.yaml

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
name: Semifold CI
2+
on:
3+
push:
4+
branches: [main]
5+
6+
permissions:
7+
contents: write
8+
pull-requests: write
9+
10+
jobs:
11+
status:
12+
name: Version or Publish
13+
runs-on: ubuntu-latest
14+
steps:
15+
- name: Checkout
16+
uses: actions/checkout@v5
17+
with:
18+
fetch-depth: 0
19+
- name: Cache rust artifacts
20+
uses: Swatinem/rust-cache@v2
21+
- name: Setup Rust
22+
uses: dtolnay/rust-toolchain@stable
23+
- uses: actions/setup-node@v6
24+
with:
25+
node-version: 22
26+
cache: 'pnpm'
27+
- name: Setup pnpm
28+
uses: pnpm/action-setup@v4
29+
- name: Install Semifold
30+
run: cargo install semifold
31+
- name: Semifold CI
32+
run: semifold ci
33+
env:
34+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
35+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: Semifold Status
2+
on:
3+
pull_request_target:
4+
types: [opened, synchronize, reopened]
5+
branches: [main]
6+
7+
permissions:
8+
contents: write
9+
pull-requests: write
10+
issues: write
11+
12+
jobs:
13+
status:
14+
name: Status
15+
runs-on: ubuntu-latest
16+
steps:
17+
- name: Checkout
18+
uses: actions/checkout@v5
19+
with:
20+
ref: ${{ github.event.pull_request.head.sha }}
21+
- name: Cache rust artifacts
22+
uses: Swatinem/rust-cache@v2
23+
- name: Setup Rust
24+
uses: dtolnay/rust-toolchain@stable
25+
- name: Install Semifold
26+
run: cargo install semifold
27+
- name: Semifold Status
28+
run: semifold status --debug
29+
env:
30+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)