Browse Source

change the workflow

tags/2.16.2
Caven Chen 3 years ago
parent
commit
4522050d0f
3 changed files with 6 additions and 6 deletions
  1. 2
    2
      .github/workflows/build.yml
  2. 2
    2
      .github/workflows/dev.yml
  3. 2
    2
      package.json

+ 2
- 2
.github/workflows/build.yml View File

@@ -16,7 +16,7 @@ jobs:

strategy:
matrix:
node-version: [14.x, 16.x]
node-version: [16.x]

steps:
- uses: actions/checkout@v2
@@ -25,4 +25,4 @@ jobs:
with:
node-version: ${{ matrix.node-version }}
- name: Publish project
run: yarn && yarn run build:sdk
run: yarn && yarn run build

+ 2
- 2
.github/workflows/dev.yml View File

@@ -15,7 +15,7 @@ jobs:

strategy:
matrix:
node-version: [14.x, 16.x]
node-version: [16.x]

steps:
- uses: actions/checkout@v2
@@ -24,5 +24,5 @@ jobs:
with:
node-version: ${{ matrix.node-version }}
- name: Build project
run: yarn && yarn dev:sdk
run: yarn && yarn dev


+ 2
- 2
package.json View File

@@ -24,8 +24,8 @@
"copy": "node scripts/build.js",
"dev": "yarn run dev:base && yarn run dev:core && yarn run dev:chart && yarn run dev:mapv && yarn run dev:s3m",
"build": "yarn run build:base && yarn run build:core && yarn run build:chart && yarn run build:mapv && yarn run build:s3m",
"dev:sdk": "yarn run dev && node scripts/build.js",
"build:sdk": "yarn run build && node scripts/build.js",
"dev:sdk": "yarn run dev && yarn run copy",
"build:sdk": "yarn run build && yarn run copy",
"release": "node scripts/release.js",
"dev:base": "yarn run clean:base && webpack --config build/webpack.base.conf --mode development",
"build:base": "yarn run clean:base && webpack --config build/webpack.base.conf --mode production --env.production",

Loading…
Cancel
Save