Skip to content

Commit

Permalink
Update node.js.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
XueshiQiao authored Nov 17, 2023
1 parent bba437f commit 397c339
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}

0 comments on commit 397c339

Please sign in to comment.