diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 82a5c63..20b80bf 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -9,7 +9,7 @@ env: jobs: quality_checks: - uses: NHSDigital/eps-workflow-quality-checks/.github/workflows/quality-checks.yml@4.0.5 + uses: NHSDigital/eps-workflow-quality-checks/.github/workflows/quality-checks.yml@v4.0.5 secrets: SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} diff --git a/.tool-versions b/.tool-versions index 802a281..50450bf 100644 --- a/.tool-versions +++ b/.tool-versions @@ -1,5 +1,5 @@ -nodejs 20.18.0 +nodejs 20.19.1 python 3.12.7 poetry 1.8.3 shellcheck 0.10.0 -actionlint 1.7.3 \ No newline at end of file +actionlint 1.7.3 diff --git a/docker/Dockerfile b/docker/Dockerfile index 0d49dd9..18318da 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -31,8 +31,12 @@ ENV PATH="$PATH:/home/cdkuser/.asdf/bin/:/home/cdkuser/node_modules/.bin" # Install ASDF plugins RUN asdf plugin add nodejs https://github.com/asdf-vm/asdf-nodejs.git -RUN asdf install nodejs 20.18.0 - +# install some common node versions that are used in builds to speed things up +RUN asdf install nodejs 20.19.1 +RUN asdf install nodejs 23.9.0 +RUN asdf install nodejs 20.17.0 +RUN asdf install nodejs 20.19.0 +RUN asdf install nodejs 22.12.0 # copy files needed for deployment COPY --chown=cdkuser docker/entrypoint.sh /home/cdkuser/ diff --git a/package-lock.json b/package-lock.json index 36bd5f0..435c995 100644 --- a/package-lock.json +++ b/package-lock.json @@ -14,7 +14,7 @@ "devDependencies": { "@semantic-release/changelog": "^6.0.3", "@semantic-release/release-notes-generator": "^14.0.3", - "@types/node": "^22.13.14", + "@types/node": "^22.15.2", "@typescript-eslint/eslint-plugin": "^8.26.1", "@typescript-eslint/parser": "^8.26.1", "conventional-changelog-eslint": "^6.0.0", @@ -2654,13 +2654,13 @@ "license": "MIT" }, "node_modules/@types/node": { - "version": "22.13.14", - "resolved": "https://registry.npmjs.org/@types/node/-/node-22.13.14.tgz", - "integrity": "sha512-Zs/Ollc1SJ8nKUAgc7ivOEdIBM8JAKgrqqUYi2J997JuKO7/tpQC+WCetQ1sypiKCQWHdvdg9wBNpUPEWZae7w==", + "version": "22.15.2", + "resolved": "https://registry.npmjs.org/@types/node/-/node-22.15.2.tgz", + "integrity": "sha512-uKXqKN9beGoMdBfcaTY1ecwz6ctxuJAcUlwE55938g0ZJ8lRxwAZqRz2AJ4pzpt5dHdTPMB863UZ0ESiFUcP7A==", "dev": true, "license": "MIT", "dependencies": { - "undici-types": "~6.20.0" + "undici-types": "~6.21.0" } }, "node_modules/@types/normalize-package-data": { @@ -12223,10 +12223,11 @@ } }, "node_modules/undici-types": { - "version": "6.20.0", - "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-6.20.0.tgz", - "integrity": "sha512-Ny6QZ2Nju20vw1SRHe3d9jVu6gJ+4e3+MMpqu7pqE5HT6WsTSlce++GQmK5UXS8mzV8DSYHrQH+Xrf2jVcuKNg==", - "dev": true + "version": "6.21.0", + "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-6.21.0.tgz", + "integrity": "sha512-iwDZqg0QAGrg9Rav5H4n0M64c3mkR59cJ6wQp+7C4nI0gsmExaedaYLNO44eT4AtBBwjbTiGPMlt2Md0T9H9JQ==", + "dev": true, + "license": "MIT" }, "node_modules/unicode-emoji-modifier-base": { "version": "1.0.0", diff --git a/package.json b/package.json index 4f2524f..6e89cf9 100644 --- a/package.json +++ b/package.json @@ -17,7 +17,7 @@ "devDependencies": { "@semantic-release/changelog": "^6.0.3", "@semantic-release/release-notes-generator": "^14.0.3", - "@types/node": "^22.13.14", + "@types/node": "^22.15.2", "@typescript-eslint/eslint-plugin": "^8.26.1", "@typescript-eslint/parser": "^8.26.1", "conventional-changelog-eslint": "^6.0.0",