diff --git a/.github/workflows/nodejs.yml b/.github/workflows/nodejs.yml index 5639fcd..e2dd04e 100644 --- a/.github/workflows/nodejs.yml +++ b/.github/workflows/nodejs.yml @@ -37,7 +37,7 @@ jobs: strategy: matrix: - node-version: [18.x, 20.x, 22.x] + node-version: [18.x, 20.x] steps: - uses: actions/checkout@v4 - name: Use Node.js ${{ matrix.node-version }} @@ -61,7 +61,7 @@ jobs: strategy: matrix: - node-version: [18.x, 20.x, 22.x] + node-version: [18.x, 20.x] steps: - uses: actions/checkout@v4 diff --git a/Makefile b/Makefile index 1b86562..2c68812 100644 --- a/Makefile +++ b/Makefile @@ -112,6 +112,25 @@ publish-nodejs20x-local: build-nodejs20x -v "${HOME}/.aws:/home/newrelic-lambda-layers/.aws" \ newrelic-lambda-layers-nodejs20x +build-nodejs22x: + docker build \ + --no-cache \ + -t newrelic-lambda-layers-nodejs22x \ + -f ./dockerfiles/Dockerfile.nodejs22x \ + . + +publish-nodejs22x-ci: build-nodejs22x + docker run \ + -e AWS_ACCESS_KEY_ID \ + -e AWS_SECRET_ACCESS_KEY \ + newrelic-lambda-layers-nodejs22x + +publish-nodejs22x-local: build-nodejs22x + docker run \ + -e AWS_PROFILE \ + -v "${HOME}/.aws:/home/newrelic-lambda-layers/.aws" \ + newrelic-lambda-layers-nodejs22x + build-ruby32: docker build \ --no-cache \ diff --git a/nodejs/publish-layers.sh b/nodejs/publish-layers.sh index 83fbb8c..0e30642 100755 --- a/nodejs/publish-layers.sh +++ b/nodejs/publish-layers.sh @@ -9,9 +9,11 @@ source ../libBuild.sh NJS18X_DIST_ARM64=$DIST_DIR/nodejs18x.arm64.zip NJS20X_DIST_ARM64=$DIST_DIR/nodejs20x.arm64.zip +NJS22X_DIST_ARM64=$DIST_DIR/nodejs22x.arm64.zip NJS18X_DIST_X86_64=$DIST_DIR/nodejs18x.x86_64.zip NJS20X_DIST_X86_64=$DIST_DIR/nodejs20x.x86_64.zip +NJS22X_DIST_X86_64=$DIST_DIR/nodejs22x.x86_64.zip function usage { echo "./publish-layers.sh [nodejs18x|nodejs20x]"