Browse Source

drone 测试

liql 2 years ago
parent
commit
3952ef92d5
2 changed files with 4 additions and 2 deletions
  1. 2 0
      .gitignore
  2. 2 2
      drone.yml

+ 2 - 0
.gitignore

@@ -21,3 +21,5 @@ pnpm-debug.log*
 *.njsproj
 *.sln
 *.sw?
+package-lock.json
+yarn.lock

+ 2 - 2
drone.yml

@@ -4,7 +4,7 @@ name: veterans_company # 定义流水线名称
 
 steps: # 定义流水线执行步骤,这些步骤将顺序执行
   - name: package # 流水线名称
-    image: node:16.19.0-bullseye-slim # 定义创建容器的Docker镜像
+    image: node:14.17.4-stretch-slim # 定义创建容器的Docker镜像
     volumes: #将容器内目录挂载到宿主机,仓库需要开启Trusted设置
       - name: node-cache
         path: /drone/src/node_modules
@@ -35,7 +35,7 @@ volumes:
   # 定义流水线挂载目录,用于共享数据
   - name: node-cache
     host:
-      path: /mydata/node/cache/other/
+      path: /mydata/node/cache/14/
   - name: node-build
     # 从宿主机中挂载的目录
     host: