mirror of
https://github.com/doocs/md.git
synced 2024-11-28 13:36:32 +08:00
change yml
This commit is contained in:
parent
8a8406059a
commit
c9e100311e
14
.github/workflows/sync.yml
vendored
14
.github/workflows/sync.yml
vendored
@ -7,7 +7,21 @@ on:
|
|||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
strategy:
|
||||||
|
matrix:
|
||||||
|
node-version: [8.x, 10.x, 12.x]
|
||||||
steps:
|
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
|
- name: Sync to Gitee
|
||||||
uses: wearerequired/git-mirror-action@master
|
uses: wearerequired/git-mirror-action@master
|
||||||
env:
|
env:
|
||||||
|
Loading…
Reference in New Issue
Block a user