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 c1de992
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 3 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
5 changes: 4 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -208,5 +208,8 @@
"crypto": "^1.0.1",
"js-yaml": "^4.1.0",
"yaml": "^2.6.1"
}
},
"alias": {
"process": false
}
}

0 comments on commit c1de992

Please sign in to comment.