Bump brace-expansion from 1.1.12 to 1.1.18 in the npm_and_yarn group across 1 directory #252
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: [ "*" ] | |
| tags-ignore: [ "**" ] | |
| pull_request: | |
| branches: [ main, develop ] | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v5 | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v6 | |
| with: | |
| node-version: '24.x' | |
| cache: 'npm' | |
| - name: Install dependencies | |
| run: npm install | |
| - name: Run linter | |
| run: npm run lint | |
| - name: Compile TypeScript | |
| run: npm run compile | |
| - name: Setup virtual display | |
| run: | | |
| sudo apt-get update | |
| sudo apt-get install -y xvfb | |
| - name: Run full test suite | |
| run: xvfb-run -a npm test | |
| build: | |
| needs: test | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v5 | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v6 | |
| with: | |
| node-version: '24.x' | |
| cache: 'npm' | |
| - name: Install dependencies | |
| run: npm install | |
| - name: Install vsce (VS Code Extension Manager) | |
| run: npm install -g @vscode/vsce | |
| - name: Compile extension | |
| run: npm run vscode:prepublish | |
| - name: Get build SHA | |
| id: version | |
| run: echo "sha_short=$(echo ${{ github.sha }} | cut -c1-8)" >> $GITHUB_OUTPUT | |
| - name: Package extension | |
| run: vsce package | |
| - name: Get package filename | |
| id: package | |
| run: | | |
| PACKAGE_FILE=$(ls *.vsix | head -1) | |
| echo "filename=$PACKAGE_FILE" >> $GITHUB_OUTPUT | |
| - name: Upload VSIX artifact | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: vscode-extension-${{ steps.version.outputs.sha_short }} | |
| path: ${{ steps.package.outputs.filename }} | |
| retention-days: 30 |