Skip to content

Bump axios from 0.21.2 to 1.6.0 in /frontend (#455) #1073

Bump axios from 0.21.2 to 1.6.0 in /frontend (#455)

Bump axios from 0.21.2 to 1.6.0 in /frontend (#455) #1073

Workflow file for this run

name: CI
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
test:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.11.2'
- name: Set up Node
uses: actions/setup-node@v4
with:
node-version: '18.17.1'
- name: Install chromedriver
uses: nanasess/setup-chromedriver@master
- name: Install Python and JS dependencies
run: ./scripts/install_deps.sh
- name: Build
id: build
env:
REACT_APP_SENTRY_DSN: https://37b1f01452b54bf4a0fe88656070998f@o871617.ingest.sentry.io/5824691
REACT_APP_USE_FIREBASE_EMULATORS: '1'
REACT_APP_FIREBASE_STAGING: '1'
FUTURECODER_LANGUAGE: en
run: ./scripts/build.sh
- name: Test
env:
FUTURECODER_LANGUAGE: en
FIREBASE_TOKEN: '1//03I37hFeN4kn3CgYIARAAGAMSNwF-L9IrUvqofZbhOkS8YMtQBhw_bu2TpWYC5MHvnaZDsWPP0KJMypXPyoxogkl8A6p2RxPJQwQ'
run: ./scripts/ci_test.sh
- name: Upload test artifacts
uses: actions/upload-artifact@v4
if: steps.build.outcome == 'success'
with:
path: '**/test_frontend_assets/'
- name: Deploy preview
uses: FirebaseExtended/action-hosting-deploy@v0
if: steps.build.outcome == 'success' && github.ref != 'refs/heads/master'
with:
repoToken: '${{ secrets.GITHUB_TOKEN }}'
firebaseServiceAccount: '{ "type": "service_account", "project_id": "futurecoder-staging", "private_key_id": "22b14cd951860ff430e5dbc8f594fb4bc8f6cdab", "private_key": "-----BEGIN PRIVATE KEY-----\nMIIEvgIBADANBgkqhkiG9w0BAQEFAASCBKgwggSkAgEAAoIBAQCfOtcinbvJ5t9J\nh1N3yA37BUBlm0UdibbcZkQhI2YI5oUogF//F8Q9giEGzKcGexM5Yz2mLKhkwGVl\n+j5H+C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Kdpxb7r2tLMms8q83tUbTpg0GWKX\nF5x9IFB4BQ0b5goBywJVgis5s01E33tcz+73B14asUrWb47+YVMFH2PX3QKBgQCx\nX0z+TuFHJPGLxtYLbPvoRNzm7BIcBYxNQOrW8gIt0jWJFSG/0rX8+pQU2pz7y4O3\n3AgHJ85htAyINmjwJQw/lG8xvCcNSaL5a8lsEcmd8JKEIpLl8llqWkLNiz9/lAEq\nNrm0YWwovPqLlB41ZUGT2p6dtbNwKPSkpACUcWH5uQKBgGO1hVeWdVgKESi4eDZF\nRiY7i/RvsVSz6FY4vOB8gjGFuPkucPnDQEczFU64HbqiVqqv50ceGm7CkYWekCbh\nWlqvH/ptmKt71taSi2hbNoinFqWoU2Wqs2n2JFAzFNrS8m2KYjshVK9/ycllGIFr\nYXCZv1gcS+vONiEt5lzPK/We\n-----END PRIVATE KEY-----\n", "client_email": "firebase-adminsdk-r0lzu@futurecoder-staging.iam.gserviceaccount.com", "client_id": "109050011633679213214", "auth_uri": "https://accounts.google.com/o/oauth2/auth", "token_uri": "https://oauth2.googleapis.com/token", "auth_provider_x509_cert_url": "https://www.googleapis.com/oauth2/v1/certs", "client_x509_cert_url": "https://www.googleapis.com/robot/v1/metadata/x509/firebase-adminsdk-r0lzu%40futurecoder-staging.iam.gserviceaccount.com" }'
projectId: futurecoder-staging
channelId: ${{ github.ref }}