From 57e1fb2799b83d579573b727fda4d08f9685731f Mon Sep 17 00:00:00 2001 From: Evan Mullins Date: Mon, 13 Jan 2025 11:48:40 -0500 Subject: [PATCH] make workflow load wp-env workflow failed due to not having wp-scripts installed, since it is a development dependency, we can update the npm install command to install it too rather than move wp-scripts to a full dependency. --- .github/workflows/npm-publish.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/npm-publish.yml b/.github/workflows/npm-publish.yml index 4f05565..adbcefe 100644 --- a/.github/workflows/npm-publish.yml +++ b/.github/workflows/npm-publish.yml @@ -18,7 +18,7 @@ jobs: with: node-version: '20.x' registry-url: 'https://registry.npmjs.org' - - run: npm ci + - run: npm c - run: npm publish --access public env: - NODE_AUTH_TOKEN: ${{ secrets.NPMJS_TOKEN }} \ No newline at end of file + NODE_AUTH_TOKEN: ${{ secrets.NPMJS_TOKEN }}