Publish Packages #61
Workflow file for this run
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
name: Publish Packages | |
on: | |
release: | |
types: [published] | |
jobs: | |
publish: | |
runs-on: ubuntu-latest | |
env: | |
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install dependencies | |
run: yarn install --frozen-lockfile | |
- name: Build package | |
run: | | |
cd packages/config | |
npm install | |
npm run build | |
cd ../provider | |
npm install | |
npm run build | |
- name: Publish package | |
run: | | |
cd packages/config | |
npm publish --registry=https://registry.npmjs.org/ | |
cd ../../packages/provider | |
npm publish --registry=https://registry.npmjs.org/ |