Improved FontAwesome selector #89
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: CI | |
| env: | |
| FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true | |
| on: | |
| push: | |
| branches: [ "main" ] | |
| paths-ignore: | |
| - '**.md' | |
| - 'graphics/**' | |
| - 'docs/**' | |
| - 'LICENSE' | |
| pull_request: | |
| branches: [ "main" ] | |
| paths-ignore: | |
| - '**.md' | |
| - 'graphics/**' | |
| - 'docs/**' | |
| - 'LICENSE' | |
| jobs: | |
| build-and-test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v6.0.2 | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v6.4.0 | |
| with: | |
| node-version: '20' | |
| cache: 'npm' | |
| - name: Setup Python | |
| uses: actions/setup-python@v6.2.0 | |
| with: | |
| python-version: '3.12' | |
| cache: 'pip' | |
| - name: Install Node dependencies | |
| run: npm ci | |
| - name: Install Python dependencies | |
| run: | | |
| python -m pip install --upgrade pip | |
| pip install ".[dev]" | |
| - name: Run TypeScript Linter | |
| run: npm run lint | |
| - name: Run TypeScript Type Check | |
| run: npm run check-types | |
| - name: Run Python Ruff Linter | |
| run: ruff check . | |
| - name: Run Python Ruff Formatter Check | |
| run: ruff format --check . | |
| - name: Run Extension Tests | |
| run: xvfb-run -a npm test | |
| - name: Package VSIX | |
| run: npm run package:vsix | |
| - name: Upload VSIX Artifact | |
| uses: actions/upload-artifact@v7.0.1 | |
| with: | |
| name: totk-vscode-extension | |
| path: "*.vsix" |