Skip to content

[pre-commit.ci] pre-commit autoupdate #83

[pre-commit.ci] pre-commit autoupdate

[pre-commit.ci] pre-commit autoupdate #83

Workflow file for this run

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/