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

Updated top level dependencies and fixed the build. #205

Merged
merged 4 commits into from
Mar 21, 2024
Merged
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
6 changes: 4 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,15 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node: ["14", "16"]
node: ["18", "20"]
name: Node ${{ matrix.node }} build
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node }}
- name: Grant Docker permissions
run: sudo chmod 666 /var/run/docker.sock
- name: Installing
run: yarn install --frozen-lockfile
- name: Linting
Expand All @@ -31,4 +33,4 @@ jobs:
#- name: Anti-tamper check
# run: git diff --exit-code
container:
image: jsii/superchain
image: jsii/superchain:1-bullseye-slim
18 changes: 18 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,24 @@ This repository is a monorepo managed with [Lerna](https://github.com/lerna/lern

We welcome community contributions and pull requests.

## Build

1. Install `yarn` on your system.

1. Install Docker which is required for some of the packages.

1. Install Node dependencies. This also automatically builds the packages.

yarn install --frozen-lockfile

1. Run tests.

npm test

1. Run linting.

npm run lint

## License

[MIT](LICENSE)
1 change: 0 additions & 1 deletion lerna.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
{
"npmClient": "yarn",
"useWorkspaces": true,
"packages": ["packages/*", "examples/*"],
"version": "independent",
"command": {
Expand Down
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@
"examples/*"
],
"devDependencies": {
"@types/node": "^14.14.31",
"cdkdx": "^1.7.0",
"cross-env": "^7.0.3",
"lerna": "^4.0.0"
"@types/node": "14.14.31",
"cdkdx": "1.9.0",
"cross-env": "7.0.3",
"lerna": "8.1.2"
}
}
4 changes: 2 additions & 2 deletions packages/cdk-s3-antivirus/src/layers/clamav/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
FROM public.ecr.aws/lambda/provided:al2.2021.09.13.11

ARG asset_name=layer
ARG CLAMAV_VERSION=0.103.5-1.el7
ARG CLAMAV_VERSION=0.103.11-1.el7

USER root
RUN mkdir -p /opt/{lib,clamav}
Expand All @@ -14,7 +14,7 @@ RUN amazon-linux-extras install epel -y && yum-config-manager --enable epel

#
# layer
#
#
RUN yum install clamav-$CLAMAV_VERSION -y


Expand Down
Loading
Loading