瀏覽代碼

workflow remove unnecessary names

theoware 3 年之前
父節點
當前提交
bca38e77ae
共有 1 個文件被更改,包括 3 次插入5 次删除
  1. 3 5
      .github/workflows/weblint.yml

+ 3 - 5
.github/workflows/weblint.yml

@@ -20,9 +20,7 @@ jobs:
 
     steps:
     - uses: actions/checkout@main
-    - name: npm install
-      run: npm install
+    - run: npm install
+      working-directory: Website
+    - run: npm run lint
       working-directory: Website
-    - name: npm run lint
-      run: npm run lint
-      working-directory: Website