Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
60 changes: 0 additions & 60 deletions .action_scripts/JavaScript/check-local-paths.mjs

This file was deleted.

7 changes: 0 additions & 7 deletions .action_scripts/JavaScript/node_modules/.package-lock.json

This file was deleted.

13 changes: 0 additions & 13 deletions .action_scripts/JavaScript/package-lock.json

This file was deleted.

12 changes: 0 additions & 12 deletions .action_scripts/JavaScript/package.json

This file was deleted.

22 changes: 9 additions & 13 deletions .github/workflows/check-local-paths.yml
Original file line number Diff line number Diff line change
@@ -1,26 +1,22 @@
name: 检查本地路径

# GitHub Action DuckDuckStudio/Check_Locale_Paths 版本 1.0.0 示例工作流
# https://github.com/marketplace/actions/check-locale-paths
# 通过 [GNU Affero General Public License v3.0](https://github.com/DuckDuckStudio/Check_Locale_Paths/blob/main/LICENSE) 许可
# 此工作流最初通过 [GNU Affero General Public License v3.0](https://github.com/DuckDuckStudio/yazicbs.github.io/blob/main/LICENSE.txt) 从 DuckDuckStudio/yazicbs.github.io 获得许可。

on:
push:
branches:
- main
pull_request:

permissions: {}

jobs:
check-local-paths:
runs-on: ubuntu-latest

steps:
- name: 检出代码
uses: actions/[email protected]

- name: 设置 Node.js
uses: actions/setup-node@v5
with:
node-version: '20'

- name: 安装依赖
run: npm install glob

- name: 运行本地路径检查
run: node ./.action_scripts/JavaScript/check-local-paths.mjs
- name: 检查本地路径
uses: DuckDuckStudio/[email protected]