Skip to content

Commit 087aa0a

Browse files
committed
v6.0.0
1 parent 6f9b560 commit 087aa0a

File tree

3,668 files changed

+13886
-112918
lines changed

Some content is hidden

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

3,668 files changed

+13886
-112918
lines changed

.github/workflows/ci.yaml

Lines changed: 4 additions & 55 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@ name: 🛠️ CI
33
on:
44
push:
55
branches:
6-
- '**' # Runs on all branch pushes
6+
- '**'
77
tags-ignore:
8-
- '**' # Ignore all tag pushes
8+
- '**'
99
repository_dispatch:
1010
types: [ pr-approved ]
1111

@@ -15,7 +15,7 @@ jobs:
1515
runs-on: ubuntu-latest
1616
strategy:
1717
matrix:
18-
node-version: [20.x, 22.x]
18+
node-version: [22.x, 24.x]
1919
steps:
2020
- name: 🔄 Checkout sources
2121
uses: actions/checkout@v4
@@ -36,7 +36,7 @@ jobs:
3636
runs-on: ubuntu-latest
3737
strategy:
3838
matrix:
39-
node-version: [20.x, 22.x]
39+
node-version: [22.x, 24.x]
4040
steps:
4141
- name: 🔄 Checkout sources
4242
uses: actions/checkout@v4
@@ -52,54 +52,3 @@ jobs:
5252
run: pnpm run lint
5353
env:
5454
CI: true
55-
56-
test_unit:
57-
name: 🧪 Unit Tests
58-
needs: build
59-
runs-on: ubuntu-latest
60-
strategy:
61-
matrix:
62-
node-version: [20.x, 22.x]
63-
steps:
64-
- name: 🔄 Checkout sources
65-
uses: actions/checkout@v4
66-
- name: ⚙️ Use Node.js ${{ matrix.node-version }}
67-
uses: actions/setup-node@v4
68-
with:
69-
node-version: ${{ matrix.node-version }}
70-
- name: 📦 Install pnpm
71-
uses: pnpm/action-setup@v4
72-
- name: 📌 Installing dependencies
73-
run: pnpm install --frozen-lockfile
74-
- name: 🚀 Running unit tests
75-
run: pnpm run test:unit
76-
77-
test_integration:
78-
name: 🧩 Integration Tests
79-
needs:
80-
- lint
81-
- test_unit
82-
runs-on: ubuntu-latest
83-
strategy:
84-
max-parallel: 1
85-
matrix:
86-
node-version: [20.x, 22.x]
87-
steps:
88-
- name: 🔄 Checkout sources
89-
uses: actions/checkout@v4
90-
- name: ⚙️ Use Node.js ${{ matrix.node-version }}
91-
uses: actions/setup-node@v4
92-
with:
93-
node-version: ${{ matrix.node-version }}
94-
- name: 📦 Install pnpm
95-
uses: pnpm/action-setup@v4
96-
- name: 📌 Installing dependencies
97-
run: pnpm install --frozen-lockfile
98-
- name: 📝 Creating `.env` file
99-
run: |
100-
touch .env
101-
echo HOST=${{ secrets.HOST }} >> .env
102-
echo EMAIL=${{ secrets.EMAIL }} >> .env
103-
echo API_TOKEN=${{ secrets.API_TOKEN }} >> .env
104-
- name: 🚀 Running integration tests
105-
run: pnpm run test:integration

.github/workflows/publish-dev.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ on:
44
workflow_dispatch
55

66
env:
7-
NODE_VERSION: '20.x'
7+
NODE_VERSION: '22.x'
88

99
permissions:
1010
contents: read

.github/workflows/publish.yml

Lines changed: 2 additions & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,14 @@ on:
66
- 'v*.*.*'
77

88
env:
9-
NODE_VERSION: '20.x'
9+
NODE_VERSION: '22.x'
1010

1111
permissions:
1212
contents: read
1313

1414
jobs:
1515
build-and-test:
16-
name: 🏗️ Build and Test
16+
name: 🏗️ Build and Lint
1717
runs-on: ubuntu-latest
1818
steps:
1919
- name: 🔄 Checkout repository
@@ -40,16 +40,6 @@ jobs:
4040
env:
4141
CI: true
4242

43-
- name: 🧪 Run unit tests
44-
run: pnpm run test:unit
45-
46-
- name: 🧩 Run integration tests
47-
run: pnpm run test:integration
48-
env:
49-
HOST: ${{ secrets.HOST }}
50-
EMAIL: ${{ secrets.EMAIL }}
51-
API_TOKEN: ${{ secrets.API_TOKEN }}
52-
5343
publish-package:
5444
name: 🚀 Publish Package
5545
needs: build-and-test
@@ -111,36 +101,3 @@ jobs:
111101
run: pnpm publish --no-git-checks
112102
env:
113103
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
114-
115-
deploy-documentation:
116-
name: 📚 Deploy Documentation
117-
needs: publish-package
118-
runs-on: ubuntu-latest
119-
steps:
120-
- name: 🔄 Checkout repository
121-
uses: actions/checkout@v4
122-
with:
123-
ref: master
124-
125-
- name: ⚙️ Setup Node.js ${{ env.NODE_VERSION }}
126-
uses: actions/setup-node@v4
127-
with:
128-
node-version: ${{ env.NODE_VERSION }}
129-
130-
- name: 📦 Install pnpm
131-
uses: pnpm/action-setup@v4
132-
133-
- name: 📌 Install dependencies
134-
run: pnpm install --frozen-lockfile
135-
136-
- name: 📝 Generate documentation
137-
run: pnpm run doc
138-
139-
- name: 🚀 Deploy to docs branch
140-
uses: JamesIves/github-pages-deploy-action@v4
141-
with:
142-
branch: docs
143-
folder: docs
144-
clean: true
145-
token: '${{ secrets.PAT }}'
146-
commit-message: "docs: Update documentation for v${{ needs.publish-package.outputs.version }} [skip ci]"

0 commit comments

Comments
 (0)