VS Code: Release 1.4.1 (#3106) #313
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: vscode-insiders-release | |
on: | |
schedule: | |
- cron: '0 15 * * *' # daily at 1500 UTC | |
push: | |
tags: | |
- vscode-v* # automatically create a new insider build with a release | |
workflow_dispatch: | |
jobs: | |
release: | |
if: github.ref == 'refs/heads/main' && github.repository == 'sourcegraph/cody' | |
runs-on: ubuntu-latest | |
timeout-minutes: 20 | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version-file: .tool-versions | |
- uses: pnpm/action-setup@v2 | |
with: | |
run_install: true | |
- run: pnpm build | |
- run: pnpm run test | |
- run: xvfb-run -a pnpm -C vscode run test:integration | |
- run: xvfb-run -a pnpm -C vscode run test:e2e | |
- run: CODY_RELEASE_TYPE=insiders pnpm -C vscode run release | |
if: github.ref == 'refs/heads/main' && github.repository == 'sourcegraph/cody' | |
env: | |
VSCODE_MARKETPLACE_TOKEN: ${{ secrets.VSCODE_MARKETPLACE_TOKEN }} | |
VSCODE_OPENVSX_TOKEN: ${{ secrets.VSCODE_OPENVSX_TOKEN }} | |
- name: Slack Notification | |
if: ${{ failure() }} | |
uses: rtCamp/action-slack-notify@v2 | |
env: | |
SLACK_CHANNEL: wg-cody-vscode | |
SLACK_ICON: https://github.com/sourcegraph.png?size=48 | |
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }} | |
SLACK_MESSAGE: Insiders build failed | |
SLACK_COLOR: danger | |
SLACK_FOOTER: '' | |
MSG_MINIMAL: actions url |