Skip to content

Commit

Permalink
build: rspack
Browse files Browse the repository at this point in the history
Update setENV.mjs
  • Loading branch information
VirgilClyne committed Oct 18, 2024
1 parent 553924b commit 4b222f8
Show file tree
Hide file tree
Showing 17 changed files with 5,844 additions and 806 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,22 +10,21 @@ permissions:
contents: read

jobs:
debug:
uses: ./.github/workflows/debug.yml
dev:
uses: ./.github/workflows/dev.yml
secrets: inherit
deploy:
needs: debug
needs: dev
runs-on: ubuntu-latest
steps:
- name: Download artifact
uses: actions/download-artifact@master
with:
name: artifact
path: dist
- name: Deploy
uses: exuanbo/actions-deploy-gist@main
with:
token: ${{ secrets.GIST_TOKEN }}
gist_id: fe3c29c45fd096d701ebf5b43f1e76b1
gist_description: " iRingo: 📰 News β"
file_path: dist/request.js
file_path: dist/request.bundle.js
9 changes: 6 additions & 3 deletions .github/workflows/debug.yml → .github/workflows/dev.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Debug
name: Dev
on:
workflow_call:
workflow_dispatch:
Expand All @@ -25,9 +25,12 @@ jobs:
- name: Install dependencies
run: npm install
- name: Build
run: npm run build:debug
run: npm run build:dev
- name: Upload artifact
uses: actions/upload-artifact@master
with:
name: artifact
path: dist
path: |
CHANGELOG.md
rulesets
dist
7 changes: 6 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,7 @@
### 🛠️ Bug Fixes
* 修复 `Surge` 模块内置`参数面板`
* 修复 `Loon` 插件内置`设置面板`
* 修复读取`数据库`不正确的问题

### 🔄 Other Changes
* 自动生成模块
* 打包器由 `rollup` 更改为 `rspack`
Loading

0 comments on commit 4b222f8

Please sign in to comment.