Skip to content

Fix admin receipt download and request reimbursement loading state #356

Fix admin receipt download and request reimbursement loading state

Fix admin receipt download and request reimbursement loading state #356

Workflow file for this run

name: ci
# Controls when the workflow will run
on:
push:
branches: ["main", "develop"]
pull_request:
branches: ["main", "develop"]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "build"
build:
# The type of runner that the job will run on
runs-on: ubuntu-latest
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v3
- uses: actions/[email protected]
with:
node-version: "18.x"
- name: Install dependencies
run: npm install
- name: Run tests
run: npm test
- name: Dry-run build
run: npm run build
env:
MONGO_URI: ${{ secrets.MONGO_URI }}
NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY: ${{ secrets.NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY }}
CLERK_SECRET_KEY: ${{ secrets.CLERK_SECRET_KEY }}
NEXT_PUBLIC_CLERK_SIGN_IN_URL: ${{ secrets.NEXT_PUBLIC_CLERK_SIGN_IN_URL }}
NEXT_PUBLIC_CLERK_SIGN_UP_URL: ${{ secrets.NEXT_PUBLIC_CLERK_SIGN_UP_URL }}
NEXT_PUBLIC_CLERK_AFTER_SIGN_IN_URL: ${{ secrets.NEXT_PUBLIC_CLERK_AFTER_SIGN_IN_URL }}
NEXT_PUBLIC_CLERK_AFTER_SIGN_UP_URL: ${{ secrets.NEXT_PUBLIC_CLERK_AFTER_SIGN_UP_URL }}
H4I_AWS_REGION: ${{ secrets.H4I_AWS_REGION }}
H4I_AWS_ACCESS_KEY: ${{ secrets.H4I_AWS_ACCESS_KEY }}
H4I_AWS_SECRET_KEY: ${{ secrets.H4I_AWS_SECRET_KEY }}
H4I_AWS_S3_BUCKET: ${{ secrets.H4I_AWS_S3_BUCKET }}