Skip to content

Commit e647874

Browse files
committed
more workflow stuff
1 parent 186a8a0 commit e647874

File tree

5 files changed

+42
-704
lines changed

5 files changed

+42
-704
lines changed

.github/workflows/main.yml

-55
This file was deleted.

.github/workflows/publish.yml

-57
This file was deleted.

.github/workflows/release.yml

+42
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
name: Release
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
8+
jobs:
9+
release:
10+
name: Release
11+
runs-on: ubuntu-latest
12+
steps:
13+
- name: Checkout
14+
uses: actions/checkout@v3
15+
with:
16+
fetch-depth: 0
17+
18+
- name: Setup pnpm
19+
uses: pnpm/action-setup@v2
20+
with:
21+
version: 8
22+
23+
- name: Setup Node.js
24+
uses: actions/setup-node@v3
25+
with:
26+
node-version: 18
27+
cache: "pnpm"
28+
29+
- name: Install dependencies
30+
run: pnpm install --frozen-lockfile
31+
32+
- name: Create Release Pull Request or Publish
33+
id: changesets
34+
uses: changesets/action@v1
35+
with:
36+
publish: pnpm release
37+
version: pnpm version
38+
commit: "chore: version packages"
39+
title: "chore: version packages"
40+
env:
41+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
42+
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

package.json

-5
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22
"name": "@uiid/core",
33
"description": "core styles, utils for uiid",
44
"version": "0.0.0",
5-
"author": "",
6-
"license": "",
75
"keywords": [],
86
"repository": {
97
"type": "git",
@@ -40,9 +38,6 @@
4038
"node": ">=18.0.0"
4139
},
4240
"devDependencies": {
43-
"@biomejs/biome": "1.9.4",
44-
"@ryansonshine/commitizen": "4.2.8",
45-
"@ryansonshine/cz-conventional-changelog": "3.3.4",
4641
"@types/node": "22.10.5",
4742
"@vitest/coverage-v8": "2.1.8",
4843
"concurrently": "9.1.2",

0 commit comments

Comments
 (0)