diff --git a/.github/workflows/dev.yml b/.github/workflows/dev.yml index a885952..c9aaee2 100644 --- a/.github/workflows/dev.yml +++ b/.github/workflows/dev.yml @@ -11,7 +11,7 @@ jobs: - name: Install Node.js uses: actions/setup-node@v1 with: - node-version: "16.5.0" + node-version: "14.18.0" - name: Install npm dependencies run: npm install - name: Run build task diff --git a/.github/workflows/gh-pages.yml b/.github/workflows/gh-pages.yml index 8244dac..c79c7f0 100644 --- a/.github/workflows/gh-pages.yml +++ b/.github/workflows/gh-pages.yml @@ -17,7 +17,7 @@ jobs: - name: Install Node.js uses: actions/setup-node@v1 with: - node-version: "16.5.0" + node-version: "14.18.0" # 拉取代码 - name: Checkout uses: actions/checkout@v2 diff --git a/.github/workflows/prod.yml b/.github/workflows/prod.yml index 952da21..1665bc7 100644 --- a/.github/workflows/prod.yml +++ b/.github/workflows/prod.yml @@ -11,7 +11,7 @@ jobs: - name: Install Node.js uses: actions/setup-node@v1 with: - node-version: "16.5.0" + node-version: "14.18.0" - name: 安装yarn run: yarn - name: 安装依赖 diff --git a/.github/workflows/sit.yml b/.github/workflows/sit.yml index 3e1d9fe..2f61d13 100644 --- a/.github/workflows/sit.yml +++ b/.github/workflows/sit.yml @@ -11,7 +11,7 @@ jobs: - name: Install Node.js uses: actions/setup-node@v1 with: - node-version: "16.5.0" + node-version: "14.18.0" - name: Install npm dependencies run: npm install - name: Run build task diff --git a/.github/workflows/uat.yml b/.github/workflows/uat.yml index 1f61225..54c548c 100644 --- a/.github/workflows/uat.yml +++ b/.github/workflows/uat.yml @@ -11,7 +11,7 @@ jobs: - name: Install Node.js uses: actions/setup-node@v1 with: - node-version: "16.5.0" + node-version: "14.18.0" - name: Install npm dependencies run: npm install - name: Run build task diff --git a/Dockerfile b/Dockerfile index b1565a8..4d192b8 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ #设置构建的基础镜像 -FROM node:16.5.0 +FROM node:14.18.0 RUN mkdir -p /project/ WORKDIR /project/ COPY package*.json /project/