Skip to content

Update storybook packages to v8 (#19) #32

Update storybook packages to v8 (#19)

Update storybook packages to v8 (#19) #32

Workflow file for this run

on:
push:
branches:
- main
name: Publish to Development
jobs:
publish:
name: Publish to Development
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Use Node.js 16.8.0
uses: actions/setup-node@v2
with:
node-version: 16.8.0
cache: npm
- name: Install dependencies
run: npm ci
- name: Get version
run: echo VERSION=$(node -pe "require('./package.json').version") >> $GITHUB_ENV
- name: Build package for App Center
run: npm run build
env:
INCLUDE_NODE_MODULES: true
- name: Zip package
run: zip ../zeplin-storybook-inspector.zip ./index.js
working-directory: dist
- name: Publish to App Center
run: npm run deploy-to-appcenter -- -a Zeplin/Storybook-Inspector-Test -f zeplin-storybook-inspector.zip -g All-users-of-Storybook-Inspector-Test -b $VERSION --token ${{ secrets.APP_CENTER_TOKEN }}