fix: upgrade Node.js to v20 and use npm install in CI

This commit is contained in:
Ethanfly 2026-01-05 13:59:16 +08:00
parent 2f15cb0909
commit d228a87777
2 changed files with 4 additions and 4 deletions

View File

@ -30,11 +30,11 @@ jobs:
- name: Setup Node.js - name: Setup Node.js
uses: actions/setup-node@v4 uses: actions/setup-node@v4
with: with:
node-version: '18' node-version: '20'
cache: 'npm' cache: 'npm'
- name: Install dependencies - name: Install dependencies
run: npm ci run: npm install
- name: Generate icons - name: Generate icons
run: npm run icons run: npm run icons

4
package-lock.json generated
View File

@ -1,12 +1,12 @@
{ {
"name": "easyshell", "name": "easyshell",
"version": "1.0.0", "version": "1.0.3",
"lockfileVersion": 3, "lockfileVersion": 3,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "easyshell", "name": "easyshell",
"version": "1.0.0", "version": "1.0.3",
"dependencies": { "dependencies": {
"@capacitor/android": "^5.6.0", "@capacitor/android": "^5.6.0",
"@capacitor/app": "^5.0.6", "@capacitor/app": "^5.0.6",