fix: 升级 Node 版本到 18,修复 sass 兼容性问题
Some checks failed
continuous-integration/drone/push Build is failing
Some checks failed
continuous-integration/drone/push Build is failing
🤖 Generated with Claude Code
This commit is contained in:
12
.drone.yml
12
.drone.yml
@@ -9,7 +9,7 @@ trigger:
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: build
|
- name: build
|
||||||
image: node:16-alpine
|
image: node:18-alpine
|
||||||
environment:
|
environment:
|
||||||
NODE_OPTIONS: --max-old-space-size=4096
|
NODE_OPTIONS: --max-old-space-size=4096
|
||||||
commands:
|
commands:
|
||||||
@@ -17,6 +17,16 @@ steps:
|
|||||||
- npm run build:h5
|
- npm run build:h5
|
||||||
- ls -la dist/build/h5/
|
- ls -la dist/build/h5/
|
||||||
|
|
||||||
|
- name: clean
|
||||||
|
image: appleboy/drone-ssh
|
||||||
|
settings:
|
||||||
|
host: 154.30.6.21
|
||||||
|
username: root
|
||||||
|
key:
|
||||||
|
from_secret: ssh_key
|
||||||
|
script:
|
||||||
|
- rm -rf /var/www/martial-admin-mini/*
|
||||||
|
|
||||||
- name: deploy
|
- name: deploy
|
||||||
image: appleboy/drone-scp
|
image: appleboy/drone-scp
|
||||||
settings:
|
settings:
|
||||||
|
|||||||
Reference in New Issue
Block a user