Skip to content

Commit 16172a8

Browse files
committed
ci: skip npm build step for plugin zip creation
1 parent 1bf14d1 commit 16172a8

1 file changed

Lines changed: 11 additions & 11 deletions

File tree

.github/workflows/ci.yml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -142,17 +142,17 @@ jobs:
142142
# Step 2: Install front-end dependencies and build assets (if you have them).
143143
# Skip this if you don't use npm for CSS/JS builds.
144144
# Step 2a: Cache npm
145-
- name: Cache npm
146-
uses: actions/cache@v4
147-
with:
148-
path: ~/.npm
149-
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
150-
151-
# Step 2b: Install npm dependencies and build assets
152-
- name: Install npm dependencies and build assets
153-
run: |
154-
npm install
155-
npm run build
145+
# - name: Cache npm
146+
# uses: actions/cache@v4
147+
# with:
148+
# path: ~/.npm
149+
# key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
150+
151+
# # Step 2b: Install npm dependencies and build assets
152+
# - name: Install npm dependencies and build assets
153+
# run: |
154+
# npm install
155+
# npm run build
156156

157157
# Step 3: Use a dedicated WordPress plugin build Action to create the .zip file.
158158
# This action is smart: it excludes development files like .git, node_modules, etc.

0 commit comments

Comments
 (0)