Skip to content

Commit

Permalink
fix(ci): update to Node 20 and update CircleCI config (#448)
Browse files Browse the repository at this point in the history
  • Loading branch information
WikiRik authored Dec 5, 2024
1 parent 9ae9fa0 commit 8a9a936
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 14 deletions.
26 changes: 13 additions & 13 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -1,23 +1,23 @@
orbs:
codecov: codecov/codecov@3.2.5
docker: circleci/docker@2.2.0
node: circleci/node@5.1.0
shellcheck: circleci/shellcheck@3.1.2
slack: circleci/slack@4.12.5
codecov: codecov/codecov@4.1.0
docker: circleci/docker@2.7.1
node: circleci/node@6.1.0
shellcheck: circleci/shellcheck@3.2.0
slack: circleci/slack@4.13.3
version: 2.1
jobs:
build:
docker:
- image: cimg/base:2023.09
- image: cimg/base:2024.09
resource_class: large
steps:
- checkout
- setup_remote_docker:
version: 20.10.23
version: default
- run: docker-compose -f docker/docker-compose.yml -f docker/docker-compose.dev.yml build --no-cache hubot
eslint:
docker:
- image: cimg/node:18.18.0
- image: cimg/node:20.17.0
resource_class: large
steps:
- checkout
Expand All @@ -30,23 +30,23 @@ jobs:
path: ~/reports
yamllint:
docker:
- image: cimg/python:3.11.5
- image: cimg/python:3.12.6
resource_class: large
steps:
- checkout
- run: pip install yamllint
- run: yamllint -d .yamllint.yml .
shellcheck:
docker:
- image: cimg/base:2023.09
- image: cimg/base:2024.09
resource_class: large
steps:
- checkout
- shellcheck/install
- shellcheck/check
audit:
docker:
- image: cimg/node:18.18.0
- image: cimg/node:20.17.0
resource_class: large
steps:
- checkout
Expand Down Expand Up @@ -93,12 +93,12 @@ jobs:
}
docker-build-and-push:
docker:
- image: cimg/node:18.18.0
- image: cimg/node:20.17.0
resource_class: large
steps:
- checkout
- setup_remote_docker:
version: 20.10.23
version: default
- node/install-packages
- run: npx semantic-release
- run: echo export PACKAGE_VERSION=$(node -p "require('./package.json').version") >> $BASH_ENV
Expand Down
2 changes: 1 addition & 1 deletion docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:18.18.0-alpine
FROM node:20.17.0-alpine

RUN adduser -s /bin/bash --disabled-password hubot
USER hubot
Expand Down

0 comments on commit 8a9a936

Please sign in to comment.