DEV2-3271 add currentLineIndex to editor context (#1225) #3234
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: Continues Integration | |
on: [push] | |
jobs: | |
buildAndLint: | |
name: Build & Lint | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Use Node.js 16.10 | |
uses: actions/setup-node@v3 | |
with: | |
node-version: '16.10' | |
- name: Install | |
run: yarn install --frozen-lockfile --ignore-optional | |
- name: Verify that the plugin metadta is correct | |
run: yarn verify-package-metadata | |
- name: Prettier validate | |
run: yarn prettier:check | |
- name: Lint | |
run: yarn lint | |
- name: Get Chat Version | |
id: get_chat_version | |
run: echo "version=$(cat ./.chatversion)" >> $GITHUB_ENV | |
- name: Checkout Chat Application Repository | |
uses: dsaltares/fetch-gh-release-asset@master | |
with: | |
repo: 'codota/tabnine-chat-app' | |
version: 'tags/${{ env.version }}' | |
file: 'build.tar.gz' | |
token: ${{ secrets.MODIFIER_PAT }} | |
- name: Extract Chat App Build | |
run: | | |
mkdir -p ./chat | |
tar -xzvf ./build.tar.gz -C ./chat | |
- name: Package | |
run: yarn vsce:package | |
test: | |
name: Test | |
strategy: | |
matrix: | |
os: [macos-latest, ubuntu-latest, windows-latest] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Use Node.js 16.10 | |
uses: actions/setup-node@v3 | |
with: | |
node-version: '16.10' | |
- name: Install | |
run: yarn install --frozen-lockfile --ignore-optional | |
- run: xvfb-run -a yarn test | |
if: runner.os == 'Linux' | |
- run: yarn test | |
if: runner.os != 'Linux' |