Skip to content

Commit

Permalink
style: check all files
Browse files Browse the repository at this point in the history
  • Loading branch information
pd4d10 committed Jul 11, 2024
1 parent 9082d87 commit 98fae32
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 19 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/Release-Linux.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,29 +4,29 @@ on:
workflow_dispatch:
inputs:
tag_name:
description: 'Tag to release'
description: "Tag to release"
required: true

jobs:
release:
runs-on: ubuntu-latest
strategy:
matrix:
architecture: [x64, arm64] # 添加架构
architecture: [x64, arm64] # 添加架构

steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '20'
node-version: "20"

- name: Setup Python 3.10
uses: actions/setup-python@v4
with:
python-version: '3.10'
python-version: "3.10"

- name: Verify Python Version
run: python --version
Expand Down Expand Up @@ -102,4 +102,4 @@ jobs:
tag_name: ${{ github.event.inputs.tag_name }}
name: ${{ env.ASSET_DEB_BASENAME }}
files: ${{ env.ASSET_DEB_PATH }}
token: ${{ secrets.GITHUB_TOKEN }}
token: ${{ secrets.GITHUB_TOKEN }}
6 changes: 3 additions & 3 deletions .github/workflows/Release-Macos.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
workflow_dispatch:
inputs:
tag_name:
description: 'Tag to release'
description: "Tag to release"
required: true

jobs:
Expand All @@ -21,12 +21,12 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '20'
node-version: "20"

- name: Setup Python 3.10
uses: actions/setup-python@v4
with:
python-version: '3.10'
python-version: "3.10"

- name: Verify Python Version
run: python --version
Expand Down
9 changes: 4 additions & 5 deletions .github/workflows/Release-Windows.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,15 @@ on:
workflow_dispatch:
inputs:
tag_name:
description: 'Tag to release'
description: "Tag to release"
required: true


jobs:
release:
runs-on: windows-latest
strategy:
matrix:
architecture: [x64, arm64, i386] # Add architecture
architecture: [x64, arm64, i386] # Add architecture

steps:
- name: Checkout code
Expand All @@ -22,12 +21,12 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '20'
node-version: "20"

- name: Setup Python 3.10
uses: actions/setup-python@v4
with:
python-version: '3.10'
python-version: "3.10"

- name: Verify Python Version
run: python --version
Expand Down
2 changes: 1 addition & 1 deletion forge.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ module.exports = {
asar: true,
appBundleId: "io.github.pd4d10.debugtron",
icon: "assets/icon",
executableName: "debugtron"
executableName: "debugtron",
},
makers: [
{ name: "@electron-forge/maker-squirrel", config: {} },
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
"author": "Rongjian Zhang <pd4d10@gmail.com>",
"main": ".vite/build/main.js",
"scripts": {
"lint": "prettier --check 'src/**/*.{ts,tsx}'",
"lint-fix": "prettier --write 'src/**/*.{ts,tsx}'",
"lint": "prettier --ignore-unknown --check '**/*'",
"lint-fix": "prettier --ignore-unknown --write '**/*'",
"make": "electron-forge make",
"package": "electron-forge package",
"publish": "electron-forge publish",
Expand Down

0 comments on commit 98fae32

Please sign in to comment.