Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upstream sync 1 #682

Closed
wants to merge 154 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
154 commits
Select commit Hold shift + click to select a range
bc74964
core tasks version bump beta.13
Zio-4 Jun 5, 2024
4691e6a
Adding levante scopped core-tasks
Zio-4 Jun 5, 2024
4493e72
Merge pull request #1 from levante-framework/core-tasks-beta15
Zio-4 Jun 5, 2024
89424b1
fixing dob check
Zio-4 Jun 5, 2024
00fdfcf
Merge pull request #2 from levante-framework/dob-fix
Zio-4 Jun 5, 2024
df4a562
fixing typo in survey task id
Zio-4 Jun 6, 2024
aca6d08
Merge pull request #3 from levante-framework/survey-completion-fix
kachergis Jun 6, 2024
cbda230
saving all responses for survey, fixing survey data fetching
Zio-4 Jun 7, 2024
597f799
Merge pull request #4 from levante-framework/survey-data-update
Zio-4 Jun 7, 2024
174cf0e
Merge branch 'yeatmanlab:main' into main
Zio-4 Jun 11, 2024
9cd55c8
Merge branch 'main' of github.com:yeatmanlab/roar-dashboard
Zio-4 Jun 18, 2024
3222d61
clearing gameStore state on signout
Zio-4 Jun 18, 2024
4d7f3cb
Merge pull request #5 from levante-framework/fix-survey-marked-complete
Zio-4 Jun 18, 2024
15dab6a
Adding German translations for sign in +child view
Zio-4 Jun 18, 2024
2d2a979
Hiding admin SSO
Zio-4 Jun 19, 2024
f83b736
Merge pull request #6 from levante-framework/translations-german
Zio-4 Jun 19, 2024
8e7f71b
Merge pull request #7 from levante-framework/hide-google-sso
Zio-4 Jun 19, 2024
4edc02a
Core tasks beta16
Zio-4 Jun 19, 2024
de8a1cf
Merge pull request #8 from levante-framework/core-tasks-beta16
Zio-4 Jun 19, 2024
03556dd
Merge branch 'main' of github.com:yeatmanlab/roar-dashboard
Zio-4 Jun 21, 2024
d181929
sign in page translations, removing test and demo checkboxes
Zio-4 Jun 21, 2024
c8dde7f
Merge pull request #9 from levante-framework/remove-admin-test-checkb…
Zio-4 Jun 25, 2024
3956d35
refactor language setter to save selection to sessionStorage, updatin…
Zio-4 Jun 25, 2024
e744daa
linking survey to admnistration
Zio-4 Jun 25, 2024
1723730
Merge pull request #11 from levante-framework/link-survey-assignment
Zio-4 Jun 25, 2024
25e5b5b
Routing parents and teachers to survey, removing extra call
Zio-4 Jun 26, 2024
be22b86
Setting userData and userClaims authStore state
Zio-4 Jun 26, 2024
664651a
Adding conditionals to survey loading, fixes for admins
Zio-4 Jun 26, 2024
7dee6be
Merge pull request #10 from levante-framework/fix-language-reset
Zio-4 Jun 27, 2024
4ee0e15
Merge pull request #12 from levante-framework/parent-teacher-survey
Zio-4 Jun 27, 2024
8477cff
Adding prod scripts, isLevante moved to helpers
Zio-4 May 30, 2024
cfdf0f0
Adding GH Actions for preview and dev deployments
Zio-4 Jun 1, 2024
f8cf227
Making target environment for preview action dynamic
Zio-4 Jul 3, 2024
eaf2780
Merge pull request #13 from levante-framework/levante-prod
Zio-4 Jul 3, 2024
377d48a
Updating remaining isLevante var to use from helper
Zio-4 Jul 4, 2024
070c116
Merge pull request #14 from levante-framework/update-variable-imports
Zio-4 Jul 4, 2024
a0bd012
Merge branch 'main' of github.com:yeatmanlab/roar-dashboard
Zio-4 Jul 8, 2024
c7b10b7
Update src/pages/HomeParticipant.vue
Zio-4 Jul 8, 2024
f7adfe4
Update src/helpers/query/utils.js
Zio-4 Jul 8, 2024
88ecb4e
Update src/components/CreateAdministrator.vue
Zio-4 Jul 8, 2024
0fb483f
Update src/components/CreateAdministrator.vue
Zio-4 Jul 8, 2024
69288fb
Update src/components/CreateAdministrator.vue
Zio-4 Jul 8, 2024
2131ba9
Merge branch 'main' into main
Zio-4 Jul 9, 2024
0dd4720
Update package lock for upstream sync
Zio-4 Jul 9, 2024
320148a
formatting for sync
Zio-4 Jul 9, 2024
75e8bd2
formatting for sync 2
Zio-4 Jul 10, 2024
618ab2e
Merge branch 'main' of github.com:yeatmanlab/roar-dashboard into upst…
Zio-4 Jul 18, 2024
557378e
Merge branch 'main' into main
Zio-4 Jul 19, 2024
32f8273
Re-enable all orgs to be created
Zio-4 Jul 19, 2024
31d1d41
Merge pull request #16 from levante-framework/levante-renable-orgs
Zio-4 Jul 29, 2024
6825e2b
Co-authored-by: Adam Richie-Halford <richford@users.noreply.github.com>
Zio-4 Jul 29, 2024
b09db3f
Merge branch 'main' of github.com:yeatmanlab/roar-dashboard
Zio-4 Aug 6, 2024
9e671ea
Merge branch 'main' of github.com:yeatmanlab/roar-dashboard
Zio-4 Aug 8, 2024
987e12a
Updating core tasks to v1.0.0-beta.18
Zio-4 Aug 8, 2024
c8935ec
Merge branch 'main' of github.com:yeatmanlab/roar-dashboard
Zio-4 Aug 9, 2024
d1e0889
Reverting creation of education orgs until there is fix in firekit.
Zio-4 Aug 9, 2024
8b5f55d
Merge pull request #17 from levante-framework/revert-education-orgs
Zio-4 Aug 9, 2024
a399691
temporary fix so surveys can be submitted
Zio-4 Aug 13, 2024
3efb2d3
Merge pull request #18 from levante-framework/quick-survey-fix
Zio-4 Aug 13, 2024
57fb7b9
Fixing language switching on survey
Zio-4 Aug 13, 2024
b07238c
Merge pull request #19 from levante-framework/survey-lang-fix
Zio-4 Aug 13, 2024
aa0d902
Merge branch 'main' of github.com:yeatmanlab/roar-dashboard into upst…
Zio-4 Aug 23, 2024
0d73836
upstream pull
Zio-4 Aug 23, 2024
9e8492a
Merge pull request #21 from levante-framework/upstream-pull-1
Zio-4 Aug 23, 2024
ff7a892
Initial changes: levante fields/options, minor styling changes
Zio-4 Jul 9, 2024
9707e5c
Updating ROAR field labels
Zio-4 Jul 10, 2024
a01af74
Replacing data table with drop down fields
Zio-4 Jul 11, 2024
929d6b8
Updating optional conditions to use dropdowns
Zio-4 Jul 12, 2024
dc6413e
renaming variables, moving blocks, fixing some bugs
Zio-4 Jul 17, 2024
5cd6554
Remaining changes for conditional assignments, minor styling changes
Zio-4 Jul 18, 2024
92ba232
Changes for all tasks besides survey to default to child only
Zio-4 Aug 26, 2024
064a4fe
Adding logic to continue an incomplete survey
Zio-4 Aug 27, 2024
d55b3c1
Adding uid to localStorage key
Zio-4 Aug 29, 2024
c3de213
Using survey composable in home participant
Zio-4 Aug 30, 2024
38590ba
Merge pull request #24 from levante-framework/save-survey-progress
Zio-4 Aug 30, 2024
959d528
Merge branch 'main' into user-type-condition-administrations
Zio-4 Aug 30, 2024
e361794
Merge pull request #15 from levante-framework/user-type-condition-adm…
Zio-4 Aug 30, 2024
35a3854
german roar tasks
Zio-4 Aug 30, 2024
0b241d4
Merge pull request #25 from levante-framework/german-roar-tasks
Zio-4 Aug 30, 2024
e3a5b00
Initial user linking implementation with working validation
Zio-4 Aug 19, 2024
a78334a
Adding user linking call
Zio-4 Aug 20, 2024
57ea99c
Styling changes
Zio-4 Aug 23, 2024
b318667
styling for upload component. registering and linking
Zio-4 Aug 23, 2024
5e58e93
Error text change
Zio-4 Aug 23, 2024
bde07e5
updating firekit to 8.0.4 with user linking handler
Zio-4 Aug 30, 2024
f4b1af3
Changing flag to let
Zio-4 Aug 30, 2024
6216b70
Merge pull request #22 from levante-framework/user-linking
Zio-4 Aug 30, 2024
3a2723c
Initial changes for register users refactor (levante)
Zio-4 Jul 30, 2024
4c10a62
Working refactor changes
Zio-4 Aug 1, 2024
c4ac024
working version of LEVANTE register
Zio-4 Aug 2, 2024
4abfd74
Changes to ROAR register users page pt 1
Zio-4 Aug 6, 2024
05701f8
Adding username to CSV on creation
Zio-4 Aug 6, 2024
2337195
return all orgs, changing download file name.
Zio-4 Aug 8, 2024
f392ff5
Changes for users already with emails
Zio-4 Aug 13, 2024
71c6604
Change some orgs to use strings (single org) for now
Zio-4 Aug 15, 2024
45ff793
standardizing orgIds to return as strings, changes regarding fetching…
Zio-4 Aug 15, 2024
8ad1b91
Updating check for child / parent user, text
Zio-4 Aug 16, 2024
1dd81df
Adding newest firekit version 8.0.5
Zio-4 Aug 31, 2024
ed5a7fd
Merge pull request #20 from levante-framework/register-users-refactor
Zio-4 Aug 31, 2024
a8839c2
Changes for Germany consent form
Zio-4 Sep 4, 2024
9d4a39d
Final consent changes for LEVANTE, translations, styling, conditions
Zio-4 Sep 5, 2024
ee4692c
Disabling consent form picker. Not working yet.
Zio-4 Sep 5, 2024
ce7a06f
Merge pull request #26 from levante-framework/germany-consent
Zio-4 Sep 5, 2024
c7021fd
Renaming tasks
Zio-4 Aug 27, 2024
be98d67
German translations
Zio-4 Sep 5, 2024
89bdfe9
Merge pull request #23 from levante-framework/rename-tasks
Zio-4 Sep 5, 2024
57d869a
Survey translations and prep for survey in parts
Zio-4 Sep 6, 2024
3359615
Merge pull request #27 from levante-framework/survey-translations
Zio-4 Sep 6, 2024
3ac78a2
core tasks v1.0.0-beta.19
Zio-4 Sep 10, 2024
b990a17
Merge pull request #28 from levante-framework/core-tasks-1.0.0-beta.19
Zio-4 Sep 10, 2024
82c3f7f
Fixing progress report view for LEVANTE
Zio-4 Sep 16, 2024
9c54607
Adding email column
Zio-4 Sep 16, 2024
961a872
Merge pull request #30 from levante-framework/fix-progress-report
Zio-4 Sep 16, 2024
ed28bf2
updating core tasks to beta 20
Zio-4 Sep 17, 2024
70f1a61
Merge pull request #31 from levante-framework/core-tasks-beta.20
Zio-4 Sep 17, 2024
a76fde0
Moving survey fetching to home page, adding initial survey parsing logic
Zio-4 Sep 12, 2024
70ac299
Moving all survey logic to helpers and home page
Zio-4 Sep 13, 2024
a5e74e5
Adding progress bar data, fixes to render for parents/teachers, parsi…
Zio-4 Sep 19, 2024
d8cee71
Updating survey responses structure
Zio-4 Sep 20, 2024
92d8572
Survey saving and completing logic updates, progress bar updates
Zio-4 Sep 20, 2024
3fc6ff0
Splitting out single watcher, seperating survey initialization logic
Zio-4 Sep 20, 2024
8c79928
First part of changes to fix performance issues for large survey
Zio-4 Sep 24, 2024
f24757e
Virtualizing pages, fixing progress, submission, and saving on response
Zio-4 Sep 27, 2024
7264bf0
More fixes, adding specific data on tab view and specific pages.
Zio-4 Sep 28, 2024
b056a40
core task v1.0.0-beta.21
Zio-4 Oct 4, 2024
f852143
Switch to seperate survey instances
Zio-4 Oct 3, 2024
e7eda59
adding specific relation description
Zio-4 Oct 8, 2024
a57ac75
Merge pull request #29 from levante-framework/survey-linking
Zio-4 Oct 8, 2024
6bc076b
translations and minor styling changes
Zio-4 Oct 10, 2024
a062147
Merge pull request #32 from levante-framework/survey-progress-transla…
Zio-4 Oct 10, 2024
6c340c3
Survey fixes for audio, progress, and translations
Zio-4 Oct 11, 2024
3ff29ac
Merge pull request #33 from levante-framework/survey-fixes
Zio-4 Oct 11, 2024
b90b0e3
Merge branch 'main' of github.com:yeatmanlab/roar-dashboard into upst…
Zio-4 Oct 21, 2024
48a2a01
changes
Zio-4 Oct 24, 2024
6e42cb7
Merge pull request #34 from levante-framework/upstream-sync-2
Zio-4 Oct 25, 2024
98b95e8
consent fix for levant3e
Zio-4 Oct 25, 2024
82a2e51
Merge pull request #35 from levante-framework/administrator-home-fix
Zio-4 Oct 25, 2024
ecc7845
core tasks bump
Zio-4 Oct 25, 2024
6c7b9ad
Merge pull request #36 from levante-framework/core-tasks-beta-23
Zio-4 Oct 25, 2024
1f6d74b
swr + sre version bump
Zio-4 Nov 4, 2024
9486893
commenting out roar ci whitelisting
Zio-4 Nov 4, 2024
fd6b918
commenting out rest of ROAR CI. removing version lock for preview
Zio-4 Nov 4, 2024
e340bf8
fixing preview deploy workflow
Zio-4 Nov 4, 2024
c385e70
adding back firebase tools version lock
Zio-4 Nov 4, 2024
bf21762
userType casing fix for user linking
Zio-4 Nov 4, 2024
81e7e28
Merge pull request #37 from levante-framework/swr-sre-german-bump
Zio-4 Nov 5, 2024
83dc0bd
hard coding node version for CI
Zio-4 Nov 5, 2024
cd8e52c
internal ids are now always strings
Zio-4 Nov 5, 2024
b2c0326
Merge pull request #38 from levante-framework/fix-linking-id
Zio-4 Nov 5, 2024
a33c584
translation updates
Zio-4 Nov 7, 2024
d7f9d1c
fixing intro task
Zio-4 Nov 7, 2024
7a8e0e3
Merge pull request #39 from levante-framework/translation-updates
Zio-4 Nov 7, 2024
79e452f
swr 1.12.11 and sre 1.15.18 bump
Zio-4 Nov 11, 2024
2f0bdc6
Merge pull request #41 from levante-framework/swr-sre-bump
Zio-4 Nov 11, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 9 additions & 2 deletions .firebaserc
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
"assessment-dev": "gse-roar-assessment-dev",
"levante-assessment-dev": "hs-levante-assessment-dev",
"levante-admin-dev": "hs-levante-admin-dev",
"levante-assessment": "hs-levante-assessment-prod",
"levante-admin": "hs-levante-admin-prod"
"levante-assessment-prod": "hs-levante-assessment-prod",
"levante-admin-prod": "hs-levante-admin-prod"
},
"targets": {
"gse-roar-admin": {
Expand All @@ -26,6 +26,13 @@
"hs-levante-admin-dev"
]
}
},
"hs-levante-admin-prod": {
"hosting": {
"production": [
"hs-levante-admin-prod"
]
}
}
},
"etags": {}
Expand Down
184 changes: 92 additions & 92 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,92 +1,92 @@
name: Continuous Integration

on:
pull_request:
types: [opened, reopened, synchronize, ready_for_review]

permissions:
contents: read
pull-requests: write

jobs:
# ––––––––––––––––––––––––––––––––––––––––––––––– #
# Lint & Format
# ––––––––––––––––––––––––––––––––––––––––––––––– #
lint:
name: Lint
runs-on: ubuntu-latest
timeout-minutes: 5

steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Install Node.js
uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'
cache: 'npm'
cache-dependency-path: package-lock.json

- name: Install dependencies
run: npm ci

- name: Run linter
run: npm run lint

- name: Check format
run: npm run check-format

# ––––––––––––––––––––––––––––––––––––––––––––––– #
# Test
# ––––––––––––––––––––––––––––––––––––––––––––––– #
test:
name: Test
runs-on: ubuntu-latest
timeout-minutes: 5

steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Install Node.js
uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'
cache: 'npm'
cache-dependency-path: package-lock.json

- name: Install dependencies
run: npm ci

- name: Run unit tests
run: npm run test

- name: Report coverage
if: success()
uses: davelosert/vitest-coverage-report-action@v2

# ––––––––––––––––––––––––––––––––––––––––––––––– #
# Build the application
# ––––––––––––––––––––––––––––––––––––––––––––––– #
build:
name: Build
runs-on: ubuntu-latest
timeout-minutes: 5

steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Install Node.js
uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'
cache: 'npm'
cache-dependency-path: package-lock.json

- name: Install dependencies
run: npm ci

- name: Build
run: npm run build
# name: Continuous Integration

# on:
# pull_request:
# types: [opened, reopened, synchronize, ready_for_review]

# permissions:
# contents: read
# pull-requests: write

# jobs:
# # ––––––––––––––––––––––––––––––––––––––––––––––– #
# # Lint & Format
# # ––––––––––––––––––––––––––––––––––––––––––––––– #
# lint:
# name: Lint
# runs-on: ubuntu-latest
# timeout-minutes: 5

# steps:
# - name: Checkout repository
# uses: actions/checkout@v4

# - name: Install Node.js
# uses: actions/setup-node@v4
# with:
# node-version-file: '.nvmrc'
# cache: 'npm'
# cache-dependency-path: package-lock.json

# - name: Install dependencies
# run: npm ci

# - name: Run linter
# run: npm run lint

# - name: Check format
# run: npm run check-format

# # ––––––––––––––––––––––––––––––––––––––––––––––– #
# # Test
# # ––––––––––––––––––––––––––––––––––––––––––––––– #
# test:
# name: Test
# runs-on: ubuntu-latest
# timeout-minutes: 5

# steps:
# - name: Checkout repository
# uses: actions/checkout@v4

# - name: Install Node.js
# uses: actions/setup-node@v4
# with:
# node-version-file: '.nvmrc'
# cache: 'npm'
# cache-dependency-path: package-lock.json

# - name: Install dependencies
# run: npm ci

# - name: Run unit tests
# run: npm run test

# - name: Report coverage
# if: success()
# uses: davelosert/vitest-coverage-report-action@v2

# # ––––––––––––––––––––––––––––––––––––––––––––––– #
# # Build the application
# # ––––––––––––––––––––––––––––––––––––––––––––––– #
# build:
# name: Build
# runs-on: ubuntu-latest
# timeout-minutes: 5

# steps:
# - name: Checkout repository
# uses: actions/checkout@v4

# - name: Install Node.js
# uses: actions/setup-node@v4
# with:
# node-version-file: '.nvmrc'
# cache: 'npm'
# cache-dependency-path: package-lock.json

# - name: Install dependencies
# run: npm ci

# - name: Build
# run: npm run build
134 changes: 67 additions & 67 deletions .github/workflows/cypress-component-tests.yml
Original file line number Diff line number Diff line change
@@ -1,72 +1,72 @@
name: Run Cypress Component Tests
# name: Run Cypress Component Tests

on:
pull_request:
types: [opened, reopened, synchronize]
workflow_dispatch:
inputs:
pr_branch:
description: 'Checkout this branch from the LEVANTE repository and execute CI/CD tests on it.'
required: true
# on:
# pull_request:
# types: [opened, reopened, synchronize]
# workflow_dispatch:
# inputs:
# pr_branch:
# description: 'Checkout this branch from the LEVANTE repository and execute CI/CD tests on it.'
# required: true

concurrency:
group: cypress-tests-${{ github.ref }}-3
cancel-in-progress: true
# concurrency:
# group: cypress-tests-${{ github.ref }}-3
# cancel-in-progress: true

jobs:
cypress-run:
name: Run Cypress Component Tests
runs-on: ubuntu-latest
timeout-minutes: 90
strategy:
fail-fast: false
matrix:
browser: [chromium, edge]
containers: [1, 2]
env:
NODE_OPTIONS: '--max_old_space_size=8192'
NODE_ENV: 'test'
CYPRESS_BASE_URL: 'http://localhost:5173'
CYPRESS_RECORD_KEY: ${{ secrets.CYPRESS_RECORD_KEY }}
COMMIT_INFO_MESSAGE: Component Tests for PR ${{ github.event.number }} "${{ github.event.pull_request.title }}" from commit "${{ github.event.pull_request.head.sha }}"
COMMIT_INFO_SHA: ${{ github.event.pull_request.head.sha }}
PARTNER_ADMIN_USERNAME: ${{ secrets.PARTNER_ADMIN_USERNAME }}
PARTNER_ADMIN_PASSWORD: ${{ secrets.PARTNER_ADMIN_PASSWORD }}
PARTNER_ADMIN_ID: ${{ secrets.PARTNER_ADMIN_ID }}
PARTICIPANT_USERNAME: ${{ secrets.PARTICIPANT_USERNAME}}
PARTICIPANT_PASSWORD: ${{ secrets.PARTICIPANT_PASSWORD }}
PARTICIPANT_UID: ${{ secrets.PARTICIPANT_UID }}
PARTICIPANT_EMAIL: ${{ secrets.PARTICIPANT_EMAIL }}
PARTICIPANT_EMAIL_PASSWORD: ${{ secrets.PARTICIPANT_EMAIL_PASSWORD }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
VITE_APPCHECK_DEBUG_TOKEN: ${{ secrets.VITE_APPCHECK_DEBUG_TOKEN }}
steps:
# For workflows triggered by pull requests
- name: Checkout PR code
if: github.event_name == 'pull_request'
uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.ref }}
# jobs:
# cypress-run:
# name: Run Cypress Component Tests
# runs-on: ubuntu-latest
# timeout-minutes: 90
# strategy:
# fail-fast: false
# matrix:
# browser: [chromium, edge]
# containers: [1, 2]
# env:
# NODE_OPTIONS: '--max_old_space_size=8192'
# NODE_ENV: 'test'
# CYPRESS_BASE_URL: 'http://localhost:5173'
# CYPRESS_RECORD_KEY: ${{ secrets.CYPRESS_RECORD_KEY }}
# COMMIT_INFO_MESSAGE: Component Tests for PR ${{ github.event.number }} "${{ github.event.pull_request.title }}" from commit "${{ github.event.pull_request.head.sha }}"
# COMMIT_INFO_SHA: ${{ github.event.pull_request.head.sha }}
# PARTNER_ADMIN_USERNAME: ${{ secrets.PARTNER_ADMIN_USERNAME }}
# PARTNER_ADMIN_PASSWORD: ${{ secrets.PARTNER_ADMIN_PASSWORD }}
# PARTNER_ADMIN_ID: ${{ secrets.PARTNER_ADMIN_ID }}
# PARTICIPANT_USERNAME: ${{ secrets.PARTICIPANT_USERNAME}}
# PARTICIPANT_PASSWORD: ${{ secrets.PARTICIPANT_PASSWORD }}
# PARTICIPANT_UID: ${{ secrets.PARTICIPANT_UID }}
# PARTICIPANT_EMAIL: ${{ secrets.PARTICIPANT_EMAIL }}
# PARTICIPANT_EMAIL_PASSWORD: ${{ secrets.PARTICIPANT_EMAIL_PASSWORD }}
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# VITE_APPCHECK_DEBUG_TOKEN: ${{ secrets.VITE_APPCHECK_DEBUG_TOKEN }}
# steps:
# # For workflows triggered by pull requests
# - name: Checkout PR code
# if: github.event_name == 'pull_request'
# uses: actions/checkout@v4
# with:
# ref: ${{ github.event.pull_request.head.ref }}

# For workflows triggered manually, targeting the LEVANTE dashboard repository specifically
- name: Checkout manual trigger code
if: github.event_name == 'workflow_dispatch'
uses: actions/checkout@v4
with:
ref: ${{ github.event.inputs.pr_branch }}
repository: levante-framework/levante-dashboard
fetch-depth: 0
# # For workflows triggered manually, targeting the LEVANTE dashboard repository specifically
# - name: Checkout manual trigger code
# if: github.event_name == 'workflow_dispatch'
# uses: actions/checkout@v4
# with:
# ref: ${{ github.event.inputs.pr_branch }}
# repository: levante-framework/levante-dashboard
# fetch-depth: 0

- name: Cypress run
uses: cypress-io/github-action@v6
with:
component: true
browser: ${{ matrix.browser }}
build: npm ci && npm run build
start: npm run dev
wait-on: ${{ env.CYPRESS_BASE_URL }}
wait-on-timeout: 120
record: true
parallel: true
spec: 'cypress/component/**/*'
ci-build-id: ${{ github.run_id }}-${{ matrix.browser }}
# - name: Cypress run
# uses: cypress-io/github-action@v6
# with:
# component: true
# browser: ${{ matrix.browser }}
# build: npm ci && npm run build
# start: npm run dev
# wait-on: ${{ env.CYPRESS_BASE_URL }}
# wait-on-timeout: 120
# record: true
# parallel: true
# spec: 'cypress/component/**/*'
# ci-build-id: ${{ github.run_id }}-${{ matrix.browser }}
Loading