Skip to content

Commit 47eabd9

Browse files
committed
Package, examples, action, English readme
1 parent 0728f58 commit 47eabd9

8 files changed

Lines changed: 2150 additions & 148 deletions

File tree

.github/workflows/minify.yml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: Build and Minify
2+
3+
on:
4+
push:
5+
branches: [ main ]
6+
pull_request:
7+
branches: [ main ]
8+
9+
jobs:
10+
build:
11+
runs-on: ubuntu-latest
12+
13+
steps:
14+
- uses: actions/checkout@v3
15+
16+
- name: Setup Node.js
17+
uses: actions/setup-node@v3
18+
with:
19+
node-version: '16'
20+
cache: 'npm'
21+
22+
- name: Install dependencies
23+
run: npm ci
24+
25+
- name: Minify GStime.js
26+
run: npm run build
27+
28+
- name: Commit minified file
29+
uses: stefanzweifel/git-auto-commit-action@v4
30+
with:
31+
commit_message: "Build: Minify GStime.js"
32+
file_pattern: 'GStime.min.js'

0 commit comments

Comments
 (0)