Update dependency @jsonforms/core to v3.8.0 #1256
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # build and deploy generator to github pages and to | |
| name: Build and Deploy to GHpages | |
| on: | |
| push: | |
| branches: [ main ] | |
| pull_request: | |
| branches: [ main ] | |
| jobs: | |
| build_and_deploy: | |
| runs-on: ubuntu-latest | |
| environment: production | |
| name: Build and Deploy | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - run: npm i | |
| - run: npm ci | |
| - name: Build for production | |
| run: CI= VITE_PUBLIC_URL=${{ secrets.VITE_PUBLIC_URL }} npm run build | |
| - name: Run tests | |
| run: npm run test | |
| - name: Run frontend tests | |
| run: npm run cypress:ci | |
| - name: Publish | |
| if: github.event_name == 'push' | |
| uses: nogsantos/scp-deploy@v1.3.0 | |
| with: | |
| src: ./dist/* | |
| host: ${{ secrets.SSH_HOST }} | |
| remote: ${{ secrets.SSH_DIR }} | |
| port: ${{ secrets.SSH_PORT }} | |
| user: ${{ secrets.SSH_USER }} | |
| key: ${{ secrets.SSH_KEY }} |