Skip to content

Commit 55cccd9

Browse files
authored
v0.0.19
v0.0.19
2 parents 1a0afe1 + 76bf54b commit 55cccd9

File tree

182 files changed

+11704
-2995
lines changed

Some content is hidden

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

182 files changed

+11704
-2995
lines changed

.github/workflows/release-please.yaml

Whitespace-only changes.

.github/workflows/release.yml

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
name: Release
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
8+
permissions:
9+
contents: write
10+
11+
jobs:
12+
release:
13+
runs-on: ubuntu-latest
14+
steps:
15+
- name: Checkout code
16+
uses: actions/checkout@v4
17+
with:
18+
fetch-depth: 0
19+
20+
- name: Set up Node.js
21+
uses: actions/setup-node@v4
22+
with:
23+
node-version-file: '.node-version'
24+
cache: 'npm'
25+
26+
- name: Install dependencies
27+
run: npm ci
28+
29+
- name: Get version from package.json
30+
id: version
31+
run: |
32+
VERSION=$(node -p "require('./themes/develop/package.json').version")
33+
echo "version=$VERSION" >> $GITHUB_OUTPUT
34+
35+
- name: Create release package
36+
run: npm run package
37+
38+
- name: Create GitHub Release
39+
run: |
40+
gh release create v${{ steps.version.outputs.version }} \
41+
--title "v${{ steps.version.outputs.version }}" \
42+
--generate-notes \
43+
./build/*.zip
44+
env:
45+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,3 +28,4 @@ node_modules
2828

2929
# Etc
3030
dist
31+
build

.husky/pre-commit

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
npx lint-staged

.node-version

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
22.14.0

0 commit comments

Comments
 (0)