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 14, 2025
1 parent c21af6d commit 5631889
Show file tree
Hide file tree
Showing 4 changed files with 608 additions and 502 deletions.
16 changes: 14 additions & 2 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,16 @@ jobs:
- name: Authenticate with private NPM package
run: echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" > ~/.npmrc

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

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

- run: npm ci

- run: npm run lint
if: runner.os == 'Linux'

Expand All @@ -46,6 +50,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
7 changes: 6 additions & 1 deletion eslint.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,11 @@ export default tseslint.config(
},
eslintPluginPrettierRecommended,
{
ignores: ['out/', 'dist/', '.vscode-test/'],
ignores: [
'out/',
'dist/',
'.vscode-test/',
'webview/resource-dependency-graph/dist/',
],
}
);
Loading

0 comments on commit 5631889

Please sign in to comment.