Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
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
15 changes: 7 additions & 8 deletions .github/workflows/cypress.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,12 @@ jobs:
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Install pnpm 7.x
uses: pnpm/action-setup@v2.2.4
- name: Install pnpm 8.x
uses: pnpm/action-setup@v3
with:
version: 7
version: 8
run_install: false

- name: Get pnpm store directory
Expand All @@ -34,7 +34,7 @@ jobs:
echo "pnpm_cache_dir=$(pnpm store path)" >> $GITHUB_OUTPUT

- name: Setup pnpm cache
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: |
/home/runner/.cache
Expand All @@ -49,14 +49,13 @@ jobs:
# Install NPM dependencies, cache them correctly
# and run all Cypress tests
- name: Cypress run - Chrome
uses: cypress-io/github-action@v4.2.2
uses: cypress-io/github-action@v6
with:
# not working with pnpm
install: false
browser: chrome
record: true
parallel: true
group: 'UI - Chrome'
group: 'UI - Electron'
start: pnpm start
wait-on: 'http://localhost:5173'
# wait for 2 minutes for the server to respond
Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,17 +21,17 @@ jobs:
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Install Node.js 16.x
uses: actions/setup-node@v3
- name: Install Node.js 18.x
uses: actions/setup-node@v4
with:
node-version: '16'

- name: Install pnpm 7.x
uses: pnpm/action-setup@v2.2.4
- name: Install pnpm 8.x
uses: pnpm/action-setup@v3
with:
version: 7
version: 8
run_install: false

- name: Get pnpm store directory
Expand All @@ -40,7 +40,7 @@ jobs:
echo "pnpm_cache_dir=$(pnpm store path)" >> $GITHUB_OUTPUT

- name: Setup pnpm cache
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ${{ steps.pnpm-cache.outputs.pnpm_cache_dir }}
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
Expand Down
16 changes: 8 additions & 8 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,17 +21,17 @@ jobs:
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Install Node.js 16.x
uses: actions/setup-node@v3
- name: Install Node.js 18.x
uses: actions/setup-node@v4
with:
node-version: '16'
node-version: '18'

- name: Install pnpm 7.x
uses: pnpm/action-setup@v2.2.4
- name: Install pnpm 8.x
uses: pnpm/action-setup@v3
with:
version: 7
version: 8
run_install: false

- name: Get pnpm store directory
Expand All @@ -40,7 +40,7 @@ jobs:
echo "pnpm_cache_dir=$(pnpm store path)" >> $GITHUB_OUTPUT

- name: Setup pnpm cache
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ${{ steps.pnpm-cache.outputs.pnpm_cache_dir }}
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@
"vite": "^3.0.0",
"vite-tsconfig-paths": "^4.0.0",
"vitest": "^0.20.2",
"wait-on": "^6.0.1",
"wait-on": "^7.0.0",
"web-vitals": "^3.0.0",
"whatwg-fetch": "^3.6.2",
"yup": "^0.32.11"
Expand Down Expand Up @@ -141,5 +141,5 @@
}
}
},
"packageManager": "pnpm@7.26.2"
"packageManager": "pnpm@8.15.3"
}
Loading