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

chore(deps): update dependency eslint-plugin-prettier to v5.1.3 #242

Closed
wants to merge 7 commits into from
Closed
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
4 changes: 2 additions & 2 deletions .docker-hub/print/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# build stage
FROM node:20.10.0 AS build-stage
FROM node:20.9.0 AS build-stage
ARG SENTRY_AUTH_TOKEN
ARG SENTRY_ORG
ARG SENTRY_PRINT_PROJECT
Expand All @@ -22,7 +22,7 @@ COPY print .
RUN npm run build

# production stage
FROM node:20.10.0 AS production-stage
FROM node:20.9.0 AS production-stage
WORKDIR /app

COPY --from=build-stage /app/.output ./.output
Expand Down
36 changes: 24 additions & 12 deletions .github/workflows/continuous-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ jobs:

- uses: actions/setup-node@v4
with:
node-version: '20.11.0'
node-version: '20.9.0'

- uses: actions/cache@704facf57e6136b1bc63b828d79edcd491f0ee84 # v3
with:
Expand Down Expand Up @@ -92,7 +92,7 @@ jobs:

- uses: actions/setup-node@v4
with:
node-version: '20.11.0'
node-version: '20.9.0'

- uses: actions/cache@704facf57e6136b1bc63b828d79edcd491f0ee84 # v3
with:
Expand Down Expand Up @@ -121,7 +121,7 @@ jobs:

- uses: actions/setup-node@v4
with:
node-version: '20.11.0'
node-version: '20.9.0'

- uses: actions/cache@704facf57e6136b1bc63b828d79edcd491f0ee84 # v3
with:
Expand Down Expand Up @@ -150,7 +150,7 @@ jobs:

- uses: actions/setup-node@v4
with:
node-version: '20.11.0'
node-version: '20.9.0'

- uses: actions/cache@704facf57e6136b1bc63b828d79edcd491f0ee84 # v3
with:
Expand Down Expand Up @@ -231,9 +231,6 @@ jobs:
- run: php bin/console doctrine:migrations:migrate --no-interaction -e test
working-directory: api

- run: composer test
working-directory: api

- name: send coveralls report
run: |
sed -i "s|$(pwd)/api/|api/|g" api/build/logs/clover.xml
Expand All @@ -253,7 +250,7 @@ jobs:

- uses: actions/setup-node@v4
with:
node-version: '20.11.0'
node-version: '20.9.0'

- uses: actions/cache@704facf57e6136b1bc63b828d79edcd491f0ee84 # v3
with:
Expand Down Expand Up @@ -296,7 +293,7 @@ jobs:

- uses: actions/setup-node@v4
with:
node-version: '20.11.0'
node-version: '20.9.0'

- uses: actions/cache@704facf57e6136b1bc63b828d79edcd491f0ee84 # v3
with:
Expand Down Expand Up @@ -335,7 +332,7 @@ jobs:

- uses: actions/setup-node@v4
with:
node-version: '20.11.0'
node-version: '20.9.0'

- uses: actions/cache@704facf57e6136b1bc63b828d79edcd491f0ee84 # v3
with:
Expand Down Expand Up @@ -400,10 +397,25 @@ jobs:
- api-tests
- frontend-tests
- print-tests
- e2e-tests-run
runs-on: ubuntu-latest
if: always()
steps:
- run: exit 0
- name: Fail if not all jobs were successful
uses: actions/github-script@v7
with:
script: |
const needs = `${{ toJSON(needs) }}`;
const needsObject = JSON.parse(needs);

for (const [key, value] of Object.entries(needsObject)) {
if (value.result != 'success') {
core.setFailed(`Job ${key} failed`);
}
}

if (Object.entries(needsObject).length == 0) {
core.setFailed('Dependency array was empty');
}

ci-passed-event:
name: 'Send out CI success event'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/e2e-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
.fill(start)
.map((value, index) => value + index);
}
return range(0, ${{ inputs.pr_number != null && inputs.pr_number || 10 }})
return range(0, ${{ inputs.pr_number != null && inputs.pr_number || 30 }})

e2e-tests-build:
name: 'Tests: End-to-end build to detect flaky tests'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/reusable-e2e-tests-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ jobs:
cache-to: type=gha,scope=caddy,mode=max
outputs: type=docker,dest=/tmp/ecamp3-dev-api-caddy.tar

- uses: actions/upload-artifact@v4
- uses: actions/upload-artifact@v3
with:
name: e2e-tests-images
path: /tmp/ecamp3-dev-*.tar
4 changes: 2 additions & 2 deletions .github/workflows/reusable-e2e-tests-run.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
uses: docker/setup-buildx-action@v3

- name: Restore tmp folder
uses: actions/download-artifact@v4
uses: actions/download-artifact@v3
with:
name: e2e-tests-images
path: /tmp
Expand Down Expand Up @@ -59,7 +59,7 @@ jobs:
wait-on-timeout: 300

# store screenshots and videos on GitHub as artifacts, for downloading and debugging in case of problems
- uses: actions/upload-artifact@v4
- uses: actions/upload-artifact@v3
if: always()
with:
name: cypress-output-${{ matrix.browser }}${{ inputs.run-identifier != null && format('-{0}', inputs.run-identifier) }}
Expand Down
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
20.11.0
20.9.0
24 changes: 12 additions & 12 deletions .ops/aws-setup/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 .ops/aws-setup/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
},
"devDependencies": {
"@babel/eslint-parser": "7.23.3",
"@types/node": "20.10.8",
"@types/node": "20.9.0",
"eslint": "8.56.0",
"eslint-config-prettier": "9.1.0",
"eslint-plugin-import": "2.29.1",
Expand Down
8 changes: 4 additions & 4 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ version: '3.9'

services:
frontend:
image: node:20.10.0
image: node:20.9.0
container_name: 'ecamp3-frontend'
ports:
- '9229:9229' # jest debug
Expand Down Expand Up @@ -94,7 +94,7 @@ services:
- ./api/public:/srv/api/public:ro

pdf:
image: node:20.10.0
image: node:20.9.0
container_name: 'ecamp3-pdf'
stdin_open: true
tty: true
Expand All @@ -113,7 +113,7 @@ services:
- CI=${CI}

print:
image: node:20.10.0
image: node:20.9.0
container_name: 'ecamp3-print'
user: ${USER_ID:-1000}
volumes:
Expand Down Expand Up @@ -192,7 +192,7 @@ services:
working_dir: /e2e

translation:
image: node:20.10.0
image: node:20.9.0
profiles: ['translation']
container_name: 'ecamp3-translation'
volumes:
Expand Down
8 changes: 4 additions & 4 deletions e2e/package-lock.json

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

8 changes: 4 additions & 4 deletions frontend/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 pdf/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"devDependencies": {
"@babel/eslint-parser": "7.23.3",
"@rushstack/eslint-patch": "1.6.1",
"@vitejs/plugin-vue": "5.0.3",
"@vitejs/plugin-vue": "5.0.2",
"@vitest/coverage-v8": "1.1.3",
"@vue/babel-preset-app": "5.0.8",
"@vue/compiler-dom": "3.4.7",
Expand Down
8 changes: 4 additions & 4 deletions print/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 renovate.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
],
"force": {
"constraints": {
"node": "20.11.0",
"node": "20.9.0",
"php": "8.3.1"
}
},
Expand Down
Loading