.github/workflows/npm-sync.yml #337
This file contains 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 2.7 | |
- name: Checkout branch 2.7 | |
uses: actions/checkout@v2 | |
with: | |
ref: '2.7' | |
- run: yarn --frozen-lockfile | |
- name: Bootstrap platform | |
run: | | |
yarn bootstrap | |
- name: Sync cnpm | |
env: | |
CI: true | |
run: | | |
yarn sync | |