From c9e100311e344056ef535eec20db3de2ee412598 Mon Sep 17 00:00:00 2001 From: JimQing Date: Sat, 2 May 2020 18:59:20 +0800 Subject: [PATCH] change yml --- .github/workflows/sync.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/.github/workflows/sync.yml b/.github/workflows/sync.yml index 3260116..4520e40 100644 --- a/.github/workflows/sync.yml +++ b/.github/workflows/sync.yml @@ -7,7 +7,21 @@ on: jobs: build: runs-on: ubuntu-latest + strategy: + matrix: + node-version: [8.x, 10.x, 12.x] steps: + - uses: actions/checkout@v1 + - name: Use Node.js ${{ matrix.node-version }} + uses: actions/setup-node@v1 + with: + node-version: ${{ matrix.node-version }} + - name: npm install, build + run: | + npm install + npm run build --if-present + env: + CI: true - name: Sync to Gitee uses: wearerequired/git-mirror-action@master env: