Merge pull request #769 from vonpoland/feat/799-product-provider-filt… #27
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: CD maas-schemas | |
on: | |
push: | |
branches: | |
- main | |
paths: | |
- 'maas-schemas/package.json' | |
- '.github/workflows/cd-maas-schemas.yml' | |
defaults: | |
run: | |
working-directory: maas-schemas | |
env: | |
NODE_AUTH_TOKEN: ${{ secrets.PUBLIC_NPM_TOKEN }} | |
jobs: | |
publish: | |
runs-on: ubuntu-latest | |
timeout-minutes: 15 | |
name: publish | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup Node | |
uses: actions/setup-node@v3 | |
with: | |
node-version: "14" | |
registry-url: "https://registry.npmjs.org" | |
- name: Install Dependencies | |
run: | | |
yarn | |
- name: Deploy to Registry | |
run: | | |
yarn deploy-npm |