Skip to content
Draft
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
2 changes: 2 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
vendor/*.zip filter=lfs diff=lfs merge=lfs -text
vendor/*.tar.gz filter=lfs diff=lfs merge=lfs -text
28 changes: 17 additions & 11 deletions .github/workflows/build-publish-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
build_id: ${{ steps.set_build_id.outputs.build_id }}
steps:
- name: Checkout code
uses: actions/checkout@v4
uses: actions/checkout@v5
with:
ref: ${{ github.event_name == 'workflow_dispatch' && github.event.inputs.branch || github.ref }}
persist-credentials: false
Expand All @@ -50,7 +50,7 @@ jobs:
openstad_version: ${{ steps.chart_version.outputs.openstad_version }}
steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v5
with:
ref: ${{ github.event_name == 'workflow_dispatch' && github.event.inputs.branch || github.ref }}
persist-credentials: false
Expand All @@ -69,7 +69,7 @@ jobs:
pull-requests: read
steps:
- name: Checkout code
uses: actions/checkout@v4
uses: actions/checkout@v5
with:
ref: ${{ github.event_name == 'workflow_dispatch' && github.event.inputs.branch || github.ref }}
persist-credentials: false
Expand All @@ -95,8 +95,9 @@ jobs:
pull-requests: read
steps:
- name: Checkout code
uses: actions/checkout@v4
uses: actions/checkout@v5
with:
lfs: true
ref: ${{ github.event_name == 'workflow_dispatch' && github.event.inputs.branch || github.ref }}
persist-credentials: false

Expand All @@ -105,7 +106,7 @@ jobs:
node-version: 24

- name: Install dependencies
run: npm i
run: CYPRESS_INSTALL_BINARY=$GITHUB_WORKSPACE/vendor/cypress-15.6.0.zip npm ci --legacy-peer-deps

- name: Run Vitest tests
run: npm run test:unit
Expand All @@ -120,8 +121,9 @@ jobs:
contents: read
steps:
- name: Checkout code
uses: actions/checkout@v4
uses: actions/checkout@v5
with:
lfs: true
ref: ${{ github.event_name == 'workflow_dispatch' && github.event.inputs.branch || github.ref }}
persist-credentials: false

Expand All @@ -130,7 +132,7 @@ jobs:
node-version: 24

- name: Install dependencies
run: npm ci --legacy-peer-deps
run: CYPRESS_INSTALL_BINARY=$GITHUB_WORKSPACE/vendor/cypress-15.6.0.zip npm ci --legacy-peer-deps

- name: Run Cypress tests
uses: cypress-io/github-action@v6
Expand All @@ -154,8 +156,9 @@ jobs:
contents: read
steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v5
with:
lfs: true
ref: ${{ github.event_name == 'workflow_dispatch' && github.event.inputs.branch || github.ref }}
persist-credentials: false

Expand Down Expand Up @@ -203,8 +206,9 @@ jobs:
BUILD_TARGET: release
steps:
- name: Checkout code
uses: actions/checkout@v4
uses: actions/checkout@v5
with:
lfs: true
ref: ${{ github.event_name == 'workflow_dispatch' && github.event.inputs.branch || github.ref }}
persist-credentials: false

Expand Down Expand Up @@ -283,8 +287,9 @@ jobs:
contents: read
steps:
- name: Checkout code
uses: actions/checkout@v4
uses: actions/checkout@v5
with:
lfs: true
ref: ${{ github.event_name == 'workflow_dispatch' && github.event.inputs.branch || github.ref }}
persist-credentials: false

Expand Down Expand Up @@ -376,8 +381,9 @@ jobs:

steps:
- name: Checkout code
uses: actions/checkout@v4
uses: actions/checkout@v5
with:
lfs: true
ref: ${{ github.event_name == 'workflow_dispatch' && github.event.inputs.branch || github.ref }}
persist-credentials: false

Expand Down
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ ENV BUILD_ENV=${BUILD_ENV}

# set Cypress cache to a writable temp path (avoids issues with /root/.cache)
ENV CYPRESS_CACHE_FOLDER=/tmp/CypressCache
ENV CYPRESS_INSTALL_BINARY=/opt/openstad-headless/vendor/cypress-15.6.0.zip

RUN npm ci --legacy-peer-deps -ws

Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
"private": true,
"devDependencies": {
"@trivago/prettier-plugin-sort-imports": "^4.3.0",
"cypress": "^15.3.0",
"cypress": "^15.6.0",
"mysql2": "^3.11.3",
"prettier": "3.0.3",
"vitest": "^3.2.3"
Expand Down
3 changes: 3 additions & 0 deletions vendor/cypress-15.6.0.zip
Git LFS file not shown
Binary file modified vendor/knox-0.9.3.tar.gz
Binary file not shown.