chore: upgrade appleboy/scp-action (#5461)

* chore: upgrade appleboy/scp-action

* fix: build
This commit is contained in:
chenos 2024-10-20 10:47:01 +08:00 committed by GitHub
parent d553e51b51
commit eda732ef5f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 4 additions and 1 deletions

View File

@ -44,7 +44,7 @@ jobs:
echo "::set-output name=tags::pr-${{ github.event.pull_request.number }}" echo "::set-output name=tags::pr-${{ github.event.pull_request.number }}"
fi fi
- name: copy files via ssh - ${{ steps.set-tags.outputs.tags }} - name: copy files via ssh - ${{ steps.set-tags.outputs.tags }}
uses: appleboy/scp-action@v0.1.4 uses: appleboy/scp-action@v0.1.7
with: with:
host: ${{ secrets.CN_CLIENT_HOST }} host: ${{ secrets.CN_CLIENT_HOST }}
username: ${{ secrets.CN_CLIENT_USERNAME }} username: ${{ secrets.CN_CLIENT_USERNAME }}

View File

@ -26,6 +26,9 @@ export default defineConfig({
{ type: 'component', dir: 'src/schema-component/antd' }, { type: 'component', dir: 'src/schema-component/antd' },
], ],
}, },
jsMinifierOptions: {
target: ['chrome80', 'es2020'],
},
locales: lang === 'zh-CN' ? [{ id: 'zh-CN', name: '中文' },] : [{ id: 'en-US', name: 'English' }], locales: lang === 'zh-CN' ? [{ id: 'zh-CN', name: '中文' },] : [{ id: 'en-US', name: 'English' }],
themeConfig: defineThemeConfig({ themeConfig: defineThemeConfig({
title: 'NocoBase', title: 'NocoBase',