Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 037e98cd45 | |||
| 6abdf4add4 |
@@ -91,6 +91,12 @@ jobs:
|
||||
path: node_modules
|
||||
key: ${{ runner.os }}-release-v22-${{ hashFiles('**/package-lock.json') }}
|
||||
|
||||
- name: Sync version from tag
|
||||
run: |
|
||||
VERSION="${GITHUB_REF_NAME#v}"
|
||||
echo "Setting version to $VERSION"
|
||||
npm version "$VERSION" --no-git-tag-version
|
||||
|
||||
- name: Build and Zip Extension
|
||||
run: |
|
||||
npm run zip
|
||||
|
||||
+1
-5
@@ -26,11 +26,7 @@
|
||||
"target": "ESNext",
|
||||
|
||||
"types": ["chrome", "webextension-polyfill", "@testing-library/jest-dom", "vitest/globals"],
|
||||
"noImplicitAny": true,
|
||||
"baseUrl": ".",
|
||||
"paths": {
|
||||
"@/*": ["./*"]
|
||||
}
|
||||
"noImplicitAny": true
|
||||
},
|
||||
// 确保包含你的源代码目录
|
||||
"include": [
|
||||
|
||||
Reference in New Issue
Block a user