0
Fork 0
mirror of https://github.com/verdaccio/verdaccio.git synced 2025-03-11 02:15:57 -05:00

chore: ui-component ci

This commit is contained in:
Juan Picado 2025-03-02 18:13:54 +01:00
parent c7d0290127
commit e33f8446af
3 changed files with 12 additions and 11 deletions

View file

@ -10,9 +10,6 @@ on:
permissions:
contents: read # to fetch code (actions/checkout)
env:
DEBUG: verdaccio*
jobs:
deploy:
permissions:
@ -28,14 +25,18 @@ jobs:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Install dependencies with a custom registry
uses: ./.github/actions/install-app
- name: crowdin download
env:
CROWDIN_VERDACCIO_API_KEY: ${{ secrets.CROWDIN_VERDACCIO_API_KEY }}
CONTEXT: production
run: pnpm crowdin:download
- name: Build storybook
run: pnpm ui:storybook:build
- name: Copy public content
# the msw.js worker is need it at the storybook-static folder in production
run: cp -R packages/ui-components/public/* packages/ui-components/storybook-static
# Disabled temporary
# - name: Deploy to Netlify
# env:
# NETLIFY_SITE_ID: ${{ secrets.NETLIFY_UI_SITE_ID }}
# NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}
# run: pnpm --filter ...@verdaccio/ui-components netlify:ui:deploy
- name: Deploy to Netlify
env:
NETLIFY_SITE_ID: ${{ secrets.NETLIFY_UI_SITE_ID }}
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}
run: pnpm --filter ...@verdaccio/ui-components netlify:ui:deploy

View file

@ -32,7 +32,7 @@
"@rematch/core": "2.2.0",
"@rematch/loading": "2.1.2",
"@rematch/persist": "2.1.2",
"@verdaccio/ui-i18n": "workspace:8.0.0-next-8.10",
"@verdaccio/ui-i18n": "workspace:*",
"country-flag-icons": "1.5.16",
"dayjs": "1.11.13",
"dompurify": "3.2.3",

2
pnpm-lock.yaml generated
View file

@ -1938,7 +1938,7 @@ importers:
specifier: 2.1.2
version: 2.1.2(@rematch/core@2.2.0(redux@4.2.1))(react@18.3.1)(redux@4.2.1)
'@verdaccio/ui-i18n':
specifier: workspace:8.0.0-next-8.10
specifier: workspace:*
version: link:../core/i18n
country-flag-icons:
specifier: 1.5.16