From 027970bf36b81c0b51af9a4010c083f25ed04371 Mon Sep 17 00:00:00 2001 From: Richard Tibbles Date: Fri, 12 Jan 2024 07:48:40 -0800 Subject: [PATCH] Ensure that pre-commit is installed for publish. --- .github/workflows/npm-publish.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/npm-publish.yml b/.github/workflows/npm-publish.yml index cf7444e..e36276a 100644 --- a/.github/workflows/npm-publish.yml +++ b/.github/workflows/npm-publish.yml @@ -17,6 +17,10 @@ jobs: uses: actions/setup-python@v4 with: python-version: 3.9 + - name: Install Python dependencies + run: | + python -m pip install --upgrade pip + pip install pre-commit - run: make release-npm env: NODE_AUTH_TOKEN: ${{secrets.NPM_API_TOKEN}}