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 all dependencies (major) #715

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
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
44 changes: 22 additions & 22 deletions .github/workflows/pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ env:

jobs:
run-image:
runs-on: ubuntu-20.04
runs-on: ubuntu-24.04

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4

- name: Build image
run: DOCKER_BUILDKIT=1 docker build --tag jaas-ai .
Expand All @@ -20,10 +20,10 @@ jobs:
curl --head --fail --retry-delay 1 --retry 30 --retry-connrefused http://localhost
run-dotrun:
runs-on: ubuntu-20.04
runs-on: ubuntu-24.04

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4

- name: Install dotrun
run: sudo pip3 install dotrun requests==2.31.0 # requests version is pinned to avoid breaking changes, can be removed once issue is resolved: https://github.com/docker/docker-py/issues/3256
Expand All @@ -40,10 +40,10 @@ jobs:
run: dotrun serve & curl --head --fail --retry-delay 1 --retry 30 --retry-connrefused http://localhost:8029

lint-scss:
runs-on: ubuntu-20.04
runs-on: ubuntu-24.04

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4

- name: Install dependencies
run: yarn install --immutable
Expand All @@ -52,10 +52,10 @@ jobs:
run: yarn lint-scss

lint-python:
runs-on: ubuntu-20.04
runs-on: ubuntu-24.04

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4

- name: Install node dependencies
run: yarn install --immutable
Expand All @@ -69,10 +69,10 @@ jobs:
run: yarn lint-python

test-python:
runs-on: ubuntu-20.04
runs-on: ubuntu-24.04

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4

- name: Install requirements
run: |
Expand All @@ -86,34 +86,34 @@ jobs:
run: yarn run test-python

- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
uses: codecov/codecov-action@v5
with:
flags: python

check-build:
runs-on: ubuntu-20.04
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Install dependencies
run: yarn

- name: Check the project builds
run: yarn run build

check-prettier:
runs-on: ubuntu-20.04
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4

- name: Install dependencies
run: yarn
- name: Run tests
run: yarn run check-prettier

js-lint:
runs-on: ubuntu-20.04
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4

- name: Install dependencies
run: yarn
Expand All @@ -122,10 +122,10 @@ jobs:
run: yarn run lint-js

test-js:
runs-on: ubuntu-20.04
runs-on: ubuntu-24.04

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4

- name: Install dependencies
run: yarn install --immutable
Expand All @@ -134,16 +134,16 @@ jobs:
run: yarn test-js

- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
uses: codecov/codecov-action@v5
with:
flags: javascript

check-inclusive-naming:
runs-on: ubuntu-20.04
runs-on: ubuntu-24.04

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

- name: Check inclusive naming
uses: canonical-web-and-design/inclusive-naming@main
Expand Down
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

# Build stage: Install python dependencies
# ===
FROM ubuntu:jammy AS python-dependencies
FROM ubuntu:noble AS python-dependencies
RUN apt-get update && apt-get install --no-install-recommends --yes python3-pip python3-setuptools
ADD requirements.txt /tmp/requirements.txt
RUN pip3 config set global.disable-pip-version-check true
Expand All @@ -11,7 +11,7 @@ RUN --mount=type=cache,target=/root/.cache/pip pip3 install --user --requirement

# Build stage: Install yarn dependencies
# ===
FROM node:18 AS yarn-dependencies
FROM node:23 AS yarn-dependencies
WORKDIR /srv
ADD package.json .
RUN --mount=type=cache,target=/usr/local/share/.cache/yarn yarn install --production
Expand All @@ -36,7 +36,7 @@ RUN yarn run build-css

# Build the production image
# ===
FROM ubuntu:jammy
FROM ubuntu:noble

# Python dependencies
ENV LANG C.UTF-8
Expand Down
28 changes: 14 additions & 14 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,32 +26,32 @@
"@canonical/global-nav": "3.6.4",
"@sentry/browser": "5.30.0",
"autoprefixer": "10.4.13",
"babel-loader": "8.3.0",
"babel-loader": "9.2.1",
"braces": "3.0.2",
"concurrently": "5.3.0",
"concurrently": "9.1.2",
"postcss": "8.4.32",
"postcss-cli": "8.3.1",
"postcss-cli": "11.0.0",
"sass": "1.79.0",
"terser-webpack-plugin": "5.3.6",
"vanilla-framework": "4.17.1",
"watch-cli": "0.2.3",
"webpack": "5.76.0",
"webpack-cli": "4.10.0"
"webpack-cli": "6.0.1"
},
"devDependencies": {
"eslint": "7.32.0",
"eslint-config-airbnb-base": "14.2.1",
"eslint-config-prettier": "7.2.0",
"eslint": "9.18.0",
"eslint-config-airbnb-base": "15.0.0",
"eslint-config-prettier": "10.0.1",
"eslint-plugin-import": "2.27.5",
"jest": "26.6.3",
"prettier": "2.8.3",
"stylelint": "13.13.1",
"stylelint-config-prettier": "8.0.2",
"stylelint-config-standard": "20.0.0",
"stylelint-order": "4.1.0"
"jest": "29.7.0",
"prettier": "3.4.2",
"stylelint": "16.13.0",
"stylelint-config-prettier": "9.0.5",
"stylelint-config-standard": "37.0.0",
"stylelint-order": "6.0.4"
},
"resolutions": {
"lodash": "^4.17.15",
"minimatch": "^3.0.2"
"minimatch": "^10.0.0"
}
}
Loading
Loading