Skip to content

Commit

Permalink
fix: ci do not build webview
Browse files Browse the repository at this point in the history
  • Loading branch information
mateuszjenek committed Jan 13, 2025
1 parent c21af6d commit 0f82480
Show file tree
Hide file tree
Showing 3 changed files with 46 additions and 3 deletions.
16 changes: 13 additions & 3 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,13 @@ jobs:
- name: Authenticate with private NPM package
run: echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" > ~/.npmrc

- name: Build graph webview
- name: Install graph webview dependencies
working-directory: ./webview/resource-dependency-graph
run: npm ci
run: npm install

- run: npm ci
- name: Build graph webview
working-directory: ./webview/resource-dependency-graph
run: npm run build

- run: npm run lint
if: runner.os == 'Linux'
Expand All @@ -46,6 +48,14 @@ jobs:
if: runner.os == 'Linux'
run: npx vsce package

- name: Archive production artifacts
if: runner.os == 'Linux'
uses: actions/upload-artifact@v4
with:
name: builded-extension
path: |
.
- name: Publish
if: success() && startsWith(github.ref, 'refs/tags/') && runner.os == 'Linux'
run: npx vsce publish ${{ github.ref_name }} --no-git-tag-version
Expand Down
32 changes: 32 additions & 0 deletions webview/resource-dependency-graph/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions webview/resource-dependency-graph/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
"@types/react-dom": "^18.3.1",
"@vscode/webview-ui-toolkit": "^1.4.0",
"@xyflow/react": "^12.3.5",
"axios": "^1.7.9",
"polished": "^4.3.1",
"react": "^18.3.1",
"react-dom": "^18.3.1",
Expand Down

0 comments on commit 0f82480

Please sign in to comment.