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
| on: | |
| push: | |
| workflow_call: | |
| workflow_dispatch: | |
| jobs: | |
| linux: | |
| runs-on: ubuntu-latest | |
| defaults: | |
| run: | |
| working-directory: "vscode-rufo" | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| with: | |
| submodules: recursive | |
| - name: Print working directory and list its contents | |
| run: | | |
| echo $PWD | |
| ls -lah | |
| - name: Install npm dependencies | |
| run: npm i | |
| - name: Install other dependencies | |
| run: sudo apt install xorg-server xorg-xinit | |
| - name: Run tests | |
| run: | | |
| startx & | |
| npm run test | |
| kill %1 |