Finish cover popup controller with tests #22
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 Extension | |
| on: | |
| push: | |
| branches: [ master ] | |
| pull_request: | |
| branches: [ master ] | |
| workflow_dispatch: | |
| permissions: | |
| contents: read | |
| packages: write | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v3 | |
| with: | |
| node-version: '25' | |
| - name: Upgrade npm | |
| run: npm install -g npm@latest | |
| - name: Clean npm cache | |
| run: npm cache clean --force | |
| - name: Remove node_modules and lock | |
| run: rm -rf node_modules package-lock.json | |
| - name: Install dependencies | |
| run: npm install | |
| - name: Run tests | |
| run: npm run test --isolate |