Undo onDidSaveTextDocument that causes problems for ALL files in VS…
#144
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: Test VS Code Extension | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| branches: | |
| - main | |
| workflow_dispatch: | |
| jobs: | |
| test-extension: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: latest | |
| - name: Update build environment and install XVFB | |
| run: | | |
| sudo apt-get -y update | |
| sudo apt-get -y install --fix-missing xvfb | |
| - uses: quarto-dev/quarto-actions/setup@v2 | |
| - name: Build vscode extension | |
| run: | | |
| yarn install | |
| yarn run build-vscode | |
| - name: Compile and run tests | |
| run: | | |
| yarn install --immutable --immutable-cache --check-cache | |
| xvfb-run yarn test-vscode |