Skip to content

Commit 52722bd

Browse files
committed
chore: fix outdated workspace path and add dependency automation
- Remove hardcoded workspace path from deliver.sh (now generic) - Update browserslist database (caniuse-lite) - Add Dependabot configuration for weekly npm updates
1 parent 91f6044 commit 52722bd

3 files changed

Lines changed: 100 additions & 69 deletions

File tree

.github/dependabot.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: "npm"
4+
directory: "/"
5+
schedule:
6+
interval: "weekly"
7+
open-pull-requests-limit: 10
8+
groups:
9+
dev-dependencies:
10+
dependency-type: "development"
11+
prod-dependencies:
12+
dependency-type: "production"

jenkins/scripts/deliver.sh

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
11
#!/usr/bin/env sh
22

33
echo 'The following "npm" command builds your Node.js/React application for'
4-
echo 'production in the local "build" directory (i.e. within the'
5-
echo '"/var/jenkins_home/workspace/simple-node-js-react-app" directory),'
6-
echo 'correctly bundles React in production mode and optimizes the build for'
7-
echo 'the best performance.'
4+
echo 'production in the local "build" directory, correctly bundles React in'
5+
echo 'production mode and optimizes the build for the best performance.'
86
set -x
97
npm run build
108
set +x

0 commit comments

Comments
 (0)