mirror of https://github.com/wg-easy/wg-easy
4 changed files with 23 additions and 22 deletions
@ -2,7 +2,7 @@ name: NPM Update Bot 🤖 |
|||||
|
|
||||
on: |
on: |
||||
push: |
push: |
||||
branches: [ "master" ] |
branches: ["master"] |
||||
schedule: |
schedule: |
||||
- cron: "0 0 * * 1" |
- cron: "0 0 * * 1" |
||||
|
|
||||
@ -17,22 +17,27 @@ jobs: |
|||||
with: |
with: |
||||
repository: wg-easy/wg-easy |
repository: wg-easy/wg-easy |
||||
ref: master |
ref: master |
||||
|
|
||||
|
- uses: pnpm/action-setup@v4 |
||||
|
name: Install pnpm |
||||
|
with: |
||||
|
run_install: false |
||||
|
|
||||
- name: Setup Node |
- name: Setup Node |
||||
uses: actions/setup-node@v4 |
uses: actions/setup-node@v4 |
||||
with: |
with: |
||||
node-version: '20' |
node-version: "20" |
||||
check-latest: true |
check-latest: true |
||||
cache: 'npm' |
cache: "pnpm" |
||||
|
|
||||
- name: Bot 🤖 "Updating NPM Packages..." |
- name: Bot 🤖 "Updating NPM Packages..." |
||||
run: | |
run: | |
||||
npm install -g --silent npm-check-updates |
npm install -g --silent npm-check-updates |
||||
ncu -u |
ncu -p pnpm -u |
||||
npm update |
pnpm update |
||||
cd src |
cd src |
||||
ncu -u |
ncu -p pnpm -u |
||||
npm update |
pnpm update |
||||
npm run buildcss |
|
||||
git config --global user.name 'NPM Update Bot' |
git config --global user.name 'NPM Update Bot' |
||||
git config --global user.email '[email protected]' |
git config --global user.email '[email protected]' |
||||
git add . |
git add . |
||||
|
@ -1,11 +0,0 @@ |
|||||
{ |
|
||||
"name": "wg-easy", |
|
||||
"version": "1.0.1", |
|
||||
"lockfileVersion": 3, |
|
||||
"requires": true, |
|
||||
"packages": { |
|
||||
"": { |
|
||||
"version": "1.0.1" |
|
||||
} |
|
||||
} |
|
||||
} |
|
@ -0,0 +1,9 @@ |
|||||
|
lockfileVersion: '9.0' |
||||
|
|
||||
|
settings: |
||||
|
autoInstallPeers: true |
||||
|
excludeLinksFromLockfile: false |
||||
|
|
||||
|
importers: |
||||
|
|
||||
|
.: {} |
Loading…
Reference in new issue