Skip to content

Commit 27ea5ae

Browse files
Dale KunceDale Kunce
authored andcommitted
fix: Remove bundle install dependency from update-events workflow
- Remove problematic 'install' script from package.json that triggered bundle install - Update update-events workflow to use npm ci for better CI performance - This fixes the 'bundle command not found' error in production deployment The fetch-events.cjs script only needs Node.js dependencies, not Ruby/Bundler.
1 parent 20c8925 commit 27ea5ae

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

.github/workflows/update-events.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@ jobs:
3030
node-version: '20'
3131
cache: 'npm'
3232

33-
- name: Install dependencies
34-
run: npm install --only=production
33+
- name: Install Node.js dependencies
34+
run: npm ci --only=production
3535

3636
- name: Fetch latest events
3737
run: node fetch-events.cjs

package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,7 @@
2929
"lint": "eslint app/assets/scripts/**/*.js updatedep.js",
3030
"lint:fix": "eslint app/assets/scripts/**/*.js updatedep.js --fix",
3131
"test": "npm run lint && npm run build",
32-
"clean": "gulp clean",
33-
"install": "bundle install"
32+
"clean": "gulp clean"
3433
},
3534
"browserify": {
3635
"transform": [

0 commit comments

Comments
 (0)