.github/workflows/npm-sync.yml #635
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| on: | |
| workflow_run: | |
| workflows: [Release NPM] | |
| types: | |
| - completed | |
| jobs: | |
| sync: | |
| runs-on: ubuntu-latest | |
| steps: | |
| # checkout branch 3.0 | |
| - name: Checkout branch 3.0 | |
| uses: actions/checkout@v2 | |
| with: | |
| ref: '3.0' | |
| - run: yarn --frozen-lockfile | |
| - name: Bootstrap platform | |
| run: | | |
| yarn bootstrap | |
| - name: Sync cnpm | |
| env: | |
| CI: true | |
| run: | | |
| yarn sync | |