ci: add release notes with IP checks placeholder and contents log #21
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: Build VS Code Extensions | |
| on: | |
| workflow_call: | |
| push: | |
| branches: | |
| - master | |
| pull_request: | |
| branches: | |
| - master | |
| env: | |
| NODE_OPTIONS: --max-old-space-size=8192 | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| steps: | |
| - uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0 | |
| - run: | | |
| git submodule init | |
| git submodule update | |
| name: Checkout VS Code | |
| # should be aligned with https://github.com/microsoft/vscode/blob/f1a4fb101478ce6ec82fe9627c43efbf9e98c813/.github/workflows/ci.yml#L108 | |
| - run: | | |
| sudo apt-get update | |
| sudo apt-get install -y libxkbfile-dev pkg-config libkrb5-dev libxss1 dbus xvfb libgtk-3-0 libgbm1 | |
| sudo cp vscode/build/azure-pipelines/linux/xvfb.init /etc/init.d/xvfb | |
| sudo chmod +x /etc/init.d/xvfb | |
| sudo update-rc.d xvfb defaults | |
| sudo service xvfb start | |
| name: Setup Build Environment | |
| - uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4 | |
| with: | |
| node-version-file: vscode/.nvmrc | |
| - name: Bundle Extensions | |
| run: | | |
| npm i | |
| npm run build:extensions | |
| - name: Package Solid Version of Extensions | |
| run: npm run package-vsix | |
| - name: Upload dist artifacts | |
| if: github.event_name == 'workflow_call' | |
| uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2 | |
| with: | |
| name: dist | |
| path: dist/ | |
| retention-days: 7 |