Bump the app-deps group across 1 directory with 4 updates #1297
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI/CD | |
on: | |
push: | |
paths-ignore: | |
- ".devcontainer/**" | |
- ".github/dependabot.yml" | |
- ".hadolint.yaml" | |
- ".markdownlint.json" | |
- ".ncurc.json" | |
- "*.md" | |
- "LICENSE" | |
pull_request: | |
paths-ignore: | |
- ".devcontainer/**" | |
- ".github/dependabot.yml" | |
- ".hadolint.yaml" | |
- ".markdownlint.json" | |
- ".ncurc.json" | |
- "*.md" | |
- "LICENSE" | |
jobs: | |
build: | |
name: Build | |
runs-on: ubuntu-24.04 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Setup Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 22 | |
- name: Install dependencies | |
run: npm install | |
- name: Bundle | |
run: npm run package | |
- name: Upload artifact | |
uses: actions/upload-artifact@v4 | |
with: | |
name: vsix | |
path: sqltools-clickhouse-driver-*.vsix | |
release: | |
name: Release | |
runs-on: ubuntu-24.04 | |
if: startsWith(github.ref, 'refs/tags/') | |
needs: build | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Download artifact | |
uses: actions/download-artifact@v4 | |
with: | |
name: vsix | |
- name: Get the version | |
id: get_version | |
run: echo VERSION=$(jq -r .version package.json) >> $GITHUB_OUTPUT | |
- name: Publish to Visual Studio Marketplace | |
uses: HaaLeo/publish-vscode-extension@v1 | |
with: | |
pat: ${{ secrets.VSCE_PAT }} | |
extensionFile: sqltools-clickhouse-driver-${{ steps.get_version.outputs.VERSION }}.vsix | |
registryUrl: https://marketplace.visualstudio.com | |
- name: Publish to Open VSX Registry | |
uses: HaaLeo/publish-vscode-extension@v1 | |
with: | |
pat: ${{ secrets.OVSX_PAT }} | |
extensionFile: sqltools-clickhouse-driver-${{ steps.get_version.outputs.VERSION }}.vsix | |
registryUrl: https://open-vsx.org | |
- name: Create release body | |
id: extract_changes | |
uses: ultram4rine/extract-changes-action@v2 | |
with: | |
changelog: CHANGELOG.md | |
version: ${{ steps.get_version.outputs.VERSION }} | |
- name: Create release | |
uses: softprops/action-gh-release@v2 | |
with: | |
body: ${{ steps.extract_changes.outputs.changes }} | |
files: | | |
sqltools-clickhouse-driver-*.vsix |