Upversion to 0.26.19 - Development Begins #250
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: RSP Community CI | |
on: | |
push: | |
branches: [master] | |
pull_request: | |
branches: [master] | |
workflow_dispatch: | |
branches: [master] | |
jobs: | |
test: | |
runs-on: ${{ matrix.os }} # runs a test on Ubuntu, Windows and macOS | |
strategy: | |
matrix: | |
os: [ubuntu-latest, windows-latest, macos-latest] | |
java: ["11"] | |
node: [16] | |
fail-fast: false | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup Java ${{ matrix.java }} | |
uses: actions/setup-java@v1 | |
with: | |
java-version: ${{ matrix.java }} | |
java-package: jdk # (jre, jdk, or jdk+fx) - defaults to jdk | |
architecture: x64 | |
- name: Setup node ${{ matrix.node }} | |
uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ matrix.node }} | |
- name: Build RSP part using Maven | |
working-directory: rsp | |
run: mvn clean install -U -fae -e -B | |
- name: Cache Version | |
working-directory: vscode | |
run: | | |
echo "EXT_VERSION=$(cat package.json | jq -r .version)" >> $GITHUB_ENV | |
- name: Install NPM prerequisities | |
working-directory: vscode | |
run: | | |
npm install -g typescript vsce | |
- name: Build VSCode part using NPM | |
working-directory: vscode | |
run: | | |
npm install | |
npm run build | |
- name: Run NPM tests | |
uses: GabrielBB/xvfb-action@f040be23a619e5ec34116f24098ad3626ceab681 #v1.4 | |
with: | |
working-directory: vscode | |
run: npm run test | |
- name: Run NPM ui-tests | |
if: runner.os == 'Linux' | |
uses: GabrielBB/xvfb-action@f040be23a619e5ec34116f24098ad3626ceab681 #v1.4 | |
with: | |
working-directory: vscode | |
run: npm run ui-test | |
- name: Archiving test artifacts | |
if: runner.os == 'Linux' | |
uses: actions/upload-artifact@v4 | |
with: | |
name: my-artifact | |
path: | | |
vscode/test-resources/screenshots/*.png | |
vscode/test-resources/*.log | |
vscode/test-resources/test-report.xml | |
vscode/vscode-community-server-connector-${{ env.EXT_VERSION }}.vsix | |
retention-days: 2 |