store: index v1.2.3 #352
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 | |
| on: | |
| push: | |
| pull_request: | |
| jobs: | |
| check: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: 22 | |
| - uses: pnpm/action-setup@v4 | |
| with: | |
| version: 10 | |
| - uses: actions/setup-python@v5 | |
| with: | |
| python-version: "3.11" # decky-loader era; tests are stdlib-only | |
| - name: Install frontend dependencies | |
| run: pnpm install --frozen-lockfile | |
| # pyflakes is the only non-stdlib thing the checks need. It was missing, | |
| # so `pnpm run check` failed here on every push while passing locally. | |
| - name: Install lint tooling | |
| run: python -m pip install --quiet pyflakes | |
| # The same command used locally, rather than a subset of it. A CI that | |
| # runs different checks from the ones a developer runs will disagree | |
| # with them, and the CI is the one nobody trusts afterwards. | |
| - name: Check | |
| run: pnpm run check | |
| - name: Build bundle | |
| run: pnpm run build |