From 397c339d513dfa000e3f082b958409451dd9823f Mon Sep 17 00:00:00 2001 From: xueshi Date: Thu, 16 Nov 2023 22:06:24 -0600 Subject: [PATCH] Update node.js.yml --- .github/workflows/node.js.yml | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml index 0e277e3..65c3e59 100644 --- a/.github/workflows/node.js.yml +++ b/.github/workflows/node.js.yml @@ -23,14 +23,11 @@ jobs: uses: actions/setup-node@v3 with: node-version: ${{ matrix.node-version }} - - run: cd ui - - run: npm install - - run: cd .. - - run: cd extension - - run: npm install - - run: npm run build --if-present + - run: cd ui; npm install + - run: cd extension; npm install + - run: cd extension; npm run build --if-present - name: Publish if: success() && startsWith(github.ref, 'refs/tags/') - run: npm run deploy + run: cd extension; npm run deploy env: VSCE_PAT: ${{ secrets.VSCE_PAT }}