[pre-commit.ci] pre-commit autoupdate #83
Workflow file for this run
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: JS Build | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.head_ref || github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| build: | |
| name: Build and verify | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v7 | |
| - name: Set up Node.js and Yarn via mise | |
| uses: jdx/mise-action@v4 | |
| - name: Cache node_modules | |
| uses: actions/cache@v6 | |
| with: | |
| path: node_modules | |
| key: node-modules-${{ hashFiles('yarn.lock') }} | |
| restore-keys: node-modules- | |
| - name: Install dependencies | |
| run: yarn install --frozen-lockfile | |
| - name: Build | |
| run: yarn prod | |
| - name: Verify no uncommitted changes | |
| run: | | |
| git diff --exit-code django_prose_editor/static/ |