Update run-extension-tests workflow #5
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 dependencies | |
| run: npm i | |
| - name: Run pre-test script | |
| run: npm run pretest | |
| - name: Run tests | |
| run: npm run test |