Skip to content

Merge pull request #778 from vonpoland/main #34

Merge pull request #778 from vonpoland/main

Merge pull request #778 from vonpoland/main #34

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