Merge pull request #2 from fjwxzde/style-and-icon #4
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: 检查本地路径 | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
check-local-paths: | |
runs-on: ubuntu-latest | |
steps: | |
- name: 检出代码 | |
uses: actions/checkout@v4 | |
- name: 设置 Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: '20' | |
- name: 安装依赖 | |
run: npm install glob | |
- name: 运行本地路径检查 | |
run: node ./.action_scripts/check-local-paths.js |