Skip to content

Commit 815f03f

Browse files
committed
v2.0.0
1 parent 3b41e87 commit 815f03f

File tree

405 files changed

+4815
-12693
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

405 files changed

+4815
-12693
lines changed

.eslintrc.yml

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

.github/workflows/ci.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,11 @@
1-
name: Comprehensive CI
1+
name: 🛠️ CI
22

33
on:
44
push:
5+
branches:
6+
- '**' # Runs on all branch pushes
7+
tags-ignore:
8+
- '**' # Ignore all tag pushes
59
repository_dispatch:
610
types: [ pr-approved ]
711

.github/workflows/publish-dev.yml

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
name: 🚀 Publish to NPM Dev Channel
2+
3+
on:
4+
workflow_dispatch
5+
6+
env:
7+
NODE_VERSION: '20.x'
8+
PNPM_VERSION: '10'
9+
10+
permissions:
11+
contents: read
12+
13+
jobs:
14+
build-and-publish:
15+
runs-on: ubuntu-latest
16+
17+
steps:
18+
- name: 🔄 Checkout code
19+
uses: actions/checkout@v4
20+
21+
- name: ⚙️ Setup Node.js ${{ env.NODE_VERSION }}
22+
uses: actions/setup-node@v4
23+
with:
24+
node-version: ${{ env.NODE_VERSION }}
25+
registry-url: https://registry.npmjs.org/
26+
27+
- name: 📦 Install pnpm
28+
uses: pnpm/action-setup@v4
29+
with:
30+
version: ${{ env.PNPM_VERSION }}
31+
32+
- name: 📌 Install dependencies
33+
run: pnpm install --frozen-lockfile
34+
35+
- name: 🛠️ Run build
36+
run: pnpm run build
37+
38+
- name: 🔖 Update package version
39+
id: update-version
40+
run: |
41+
CURRENT_VERSION=$(node -p "require('./package.json').version")
42+
TIMESTAMP=$(date -u +"%Y%m%d%H%M%S")
43+
NEW_VERSION="${CURRENT_VERSION}-dev${TIMESTAMP}"
44+
pnpm version --no-git-tag-version $NEW_VERSION
45+
echo "New version: $NEW_VERSION"
46+
echo "NEW_VERSION=$NEW_VERSION" >> $GITHUB_ENV
47+
48+
- name: 🔄 Update package-lock.json
49+
run: pnpm install
50+
51+
- name: 📤 Publish to NPM Dev Channel
52+
run: pnpm publish --tag dev --no-git-checks
53+
env:
54+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 commit comments

Comments
 (0)