chore: bump version to 1.4.4 and update changelog #204
Workflow file for this run
This file contains hidden or 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 | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| branches: [main] | |
| release: | |
| types: | |
| - published | |
| jobs: | |
| build: | |
| name: Node ${{ matrix.node }} on ${{ matrix.os }} | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| matrix: | |
| os: | |
| - ubuntu-latest | |
| node: | |
| - 18 | |
| outputs: | |
| vsixPath: ${{ steps.packageExtension.outputs.vsixPath }} | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Use Node.js ${{ matrix.node}} | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: ${{ matrix.node }} | |
| - name: Install Dependencies | |
| run: npm install | |
| - name: Compile Sources | |
| run: npm run compile | |
| - name: Run tests | |
| run: xvfb-run -a npm run test | |
| - name: Run Linter | |
| run: npm run lint | |
| - name: Package Extension | |
| id: packageExtension | |
| uses: HaaLeo/publish-vscode-extension@v1 | |
| with: | |
| pat: stub | |
| dryRun: true | |
| - name: Upload Extension Package as Artifact | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: ${{ steps.packageExtension.outputs.vsixPath }} | |
| path: ${{ steps.packageExtension.outputs.vsixPath }} | |
| publish: | |
| name: Publish Github Action | |
| needs: | |
| - build | |
| if: github.event_name == 'release' | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 10 | |
| steps: | |
| - name: Checkout Source | |
| uses: actions/checkout@v4 | |
| - name: Install Node v18 | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: 18 | |
| - name: Install Dependencies | |
| run: npm install | |
| - name: Publish to Open VSX Registry | |
| uses: HaaLeo/publish-vscode-extension@v2 | |
| id: publishToOpenVSX | |
| with: | |
| pat: ${{ secrets.OPEN_VSX_TOKEN }} | |
| - name: Publish to Visual Studio Marketplace | |
| uses: HaaLeo/publish-vscode-extension@v2 | |
| with: | |
| pat: ${{ secrets.VS_MARKETPLACE_TOKEN }} | |
| registryUrl: https://marketplace.visualstudio.com | |
| extensionFile: ${{ steps.publishToOpenVSX.outputs.vsixPath }} |