[EMU Migration] Update secrets export workflow #78
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
| name: CD | |
| on: | |
| push: | |
| branches: | |
| - master | |
| jobs: | |
| publish: | |
| if: contains(github.event.head_commit.message, '[Release]') #skip: if it's not a release merge | |
| name: publish | |
| runs-on: macos-latest | |
| steps: | |
| - uses: actions/checkout@v2 | |
| - name: Set Node.js 10.13.0 | |
| uses: actions/setup-node@master | |
| with: | |
| node-version: 10.13.0 | |
| - name: Install dependencies | |
| run: yarn install | |
| - name: Publish | |
| run: yarn lerna:publish | |
| env: | |
| NODE_AUTH_TOKEN: ${{secrets.npm_token}} |