-
Notifications
You must be signed in to change notification settings - Fork 2
39 lines (30 loc) · 1009 Bytes
/
development.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
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 }}