From 21c4722673e0437d106f75929905f39115669943 Mon Sep 17 00:00:00 2001 From: Lycs-D <139197676+Lycs-D@users.noreply.github.com> Date: Sun, 17 Mar 2024 01:56:40 +0800 Subject: [PATCH] fix --- .github/workflows/analyzer_tests.yml | 5 +---- .github/workflows/build_ci.yml | 4 +--- .github/workflows/nightly_release.yml | 4 +--- .github/workflows/test_tree_sitter_v.yml | 5 +---- 4 files changed, 4 insertions(+), 14 deletions(-) diff --git a/.github/workflows/analyzer_tests.yml b/.github/workflows/analyzer_tests.yml index ac4f9450..55920493 100644 --- a/.github/workflows/analyzer_tests.yml +++ b/.github/workflows/analyzer_tests.yml @@ -44,10 +44,7 @@ jobs: submodules: true - name: Insrall dependencies && generate - run: | - cd v-analyzer/tree_sitter_v - npm install - npm run generate + run: cd tree_sitter_v && npm install && npm run generate - name: Run tests run: cd tests && v run . diff --git a/.github/workflows/build_ci.yml b/.github/workflows/build_ci.yml index 90692f0f..27f113fc 100644 --- a/.github/workflows/build_ci.yml +++ b/.github/workflows/build_ci.yml @@ -43,9 +43,7 @@ jobs: submodules: true - name: Insrall dependencies - run: | - cd v-analyzer/tree_sitter_v - npm install + run: cd tree_sitter_v && npm install - name: Build ${{ matrix.mode }} run: v run build.vsh ${{ matrix.mode }} diff --git a/.github/workflows/nightly_release.yml b/.github/workflows/nightly_release.yml index 0d68a7c1..93e340b4 100644 --- a/.github/workflows/nightly_release.yml +++ b/.github/workflows/nightly_release.yml @@ -51,9 +51,7 @@ jobs: submodules: true - name: Insrall dependencies - run: | - cd v-analyzer/tree_sitter_v - npm install + run: cd tree_sitter_v && npm install - name: Compile run: v run build.vsh debug diff --git a/.github/workflows/test_tree_sitter_v.yml b/.github/workflows/test_tree_sitter_v.yml index 34d111d5..bd63f4bc 100644 --- a/.github/workflows/test_tree_sitter_v.yml +++ b/.github/workflows/test_tree_sitter_v.yml @@ -30,10 +30,7 @@ jobs: uses: actions/checkout@v4 - name: Install dependencies && generate - run: | - cd v-analyzer/tree_sitter_v - npm install - npm run generate + run: cd tree_sitter_v && npm install && npm run generate - name: Run tests run: cd tree_sitter_v && npm run test