Skip to content

SONARPY-3057: Returned Values Must Be JSON Serializable #12871

SONARPY-3057: Returned Values Must Be JSON Serializable

SONARPY-3057: Returned Values Must Be JSON Serializable #12871

Workflow file for this run

name: Build and Deploy
on:
push:
branches:
- dogfood-automerge
- rule/**
workflow_dispatch:
# This allows to run the workflow manually from the Actions tab (can be useful for testing purposes)
jobs:
build-and-deploy:
runs-on: ubuntu-latest-large
permissions:
pull-requests: read # Get the list and metadata of open new-rule PRs
contents: write # Get the contents of open new-rule PRs, the 'master' with updated-coverage from 'dogfood-automerge'; write to 'gh-pages' branch
steps:
- name: Checkout 🛎️
uses: actions/checkout@v4 # If you're using actions/checkout you must set persist-credentials to false in most cases for the deployment to work correctly.
with:
persist-credentials: false
ref: 'dogfood-automerge'
- name: Install and Build 🔧 # This example project is built using npm and outputs the result to the 'build' folder. Replace with the commands required to build your project, or remove this step entirely if your site is pre-built.
working-directory: frontend
run: |
sudo apt-get update
sudo apt-get install libkrb5-dev -y
npm install
npm run predeploy
env:
NODE_OPTIONS: "--max-old-space-size=3048"
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Deploy 🚀
uses: JamesIves/github-pages-deploy-action@releases/v3
with:
SINGLE_COMMIT: true
CLEAN: true
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
BRANCH: gh-pages # The branch the action should deploy to.
FOLDER: frontend/build # The folder the action should deploy.