@policystudio/policy-studio-ui-vue 1.0.60 → 1.0.63
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.github/workflows/deploy-storybook.yml +47 -0
- package/dist/css/psui_styles.css +206 -213
- package/package.json +1 -1
- package/src/assets/scss/components/PsMiniTag.scss +52 -53
- package/src/assets/scss/components/PsTabHeader.scss +1 -3
- package/src/components/badges-and-tags/PsMiniTag.vue +5 -1
- package/src/components/buttons/PsButton.vue +17 -3
- package/src/components/chips/PsChips.vue +19 -2
- package/src/components/controls/PsCheckboxSimple.vue +2 -3
- package/src/components/controls/PsDraggable.vue +3 -4
- package/src/components/forms/PsDropdown.vue +9 -0
- package/src/components/forms/PsInputTextArea.vue +16 -16
- package/src/stories/Button.stories.js +20 -15
- package/src/stories/CheckboxSimple.stories.js +2 -2
- package/tailwind.config.js +1 -1
- package/vercel.json +11 -0
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
name: Deploy Storybook
|
|
2
|
+
on:
|
|
3
|
+
push:
|
|
4
|
+
branches:
|
|
5
|
+
- master
|
|
6
|
+
|
|
7
|
+
permissions:
|
|
8
|
+
contents: read
|
|
9
|
+
pull-requests: write
|
|
10
|
+
|
|
11
|
+
jobs:
|
|
12
|
+
deploy:
|
|
13
|
+
runs-on: ubuntu-latest
|
|
14
|
+
timeout-minutes: 20
|
|
15
|
+
steps:
|
|
16
|
+
- name: Checkout code
|
|
17
|
+
uses: actions/checkout@v2
|
|
18
|
+
|
|
19
|
+
- name: Cache dependencies
|
|
20
|
+
uses: actions/cache@v2
|
|
21
|
+
with:
|
|
22
|
+
path: ~/.npm
|
|
23
|
+
key: npm-${{ hashFiles('package-lock.json') }}
|
|
24
|
+
restore-keys: npm-
|
|
25
|
+
|
|
26
|
+
- name: Setup Node.js
|
|
27
|
+
uses: actions/setup-node@v2
|
|
28
|
+
with:
|
|
29
|
+
node-version: ^14.0.0
|
|
30
|
+
|
|
31
|
+
- name: Install dependencies
|
|
32
|
+
run: npm install && npm install vercel@25.1.0 && npm install -g vercel@25.1.0
|
|
33
|
+
|
|
34
|
+
- name: Build storybook
|
|
35
|
+
run: npm run build-storybook && cp ./vercel.json storybook-static/
|
|
36
|
+
|
|
37
|
+
- name: Deploy Storybook into vercel
|
|
38
|
+
uses: amondnet/vercel-action@v25.1.0
|
|
39
|
+
with:
|
|
40
|
+
vercel-token: ${{ secrets.VERCEL_TOKEN }}
|
|
41
|
+
github-token: ${{ github.token }}
|
|
42
|
+
github-comment: false
|
|
43
|
+
vercel-org-id: ${{ secrets.VERCEL_TEAM_ID }}
|
|
44
|
+
vercel-project-id: ${{ secrets.VERCEL_STORYBOOK_PROJECT_ID }}
|
|
45
|
+
scope: ${{ secrets.VERCEL_TEAM_ID }}
|
|
46
|
+
working-directory: ./storybook-static
|
|
47
|
+
vercel-args: '--prod'
|