Skip to content

Commit

Permalink
ci: bump node version
Browse files Browse the repository at this point in the history
  • Loading branch information
maartenRamadan authored Oct 27, 2023
1 parent 83fb0a2 commit bc3c6af
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v16
v18
3 changes: 2 additions & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,8 @@
"typescript": "^4.9.5"
},
"engines": {
"node": ">=14"
"node": ">=18",
"npm": ">=9"
},
"files": [
"dist",
Expand Down
2 changes: 0 additions & 2 deletions scripts/install-dependencies.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@

set -ex

npm --prefix "$1" ci "$1" --only=production --no-audit --no-progress --prefer-offline

if [ "$#" -gt 1 ]; then
# Install additional packages.
npm --prefix "$1" install "$1" "${@:2}" --no-audit --no-progress --prefer-offline
Expand Down
2 changes: 1 addition & 1 deletion src/utilities/installDependencies.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { AdditionalPluginsSpec } from './inputProcessors';
export const installDependencies = async (
additionalPlugins?: AdditionalPluginsSpec,
): Promise<void> => {
const actionRoot = pathResolve(__dirname, '../');
const actionRoot = pathResolve(__dirname, '../../');

const additionalPackages = Object.entries(additionalPlugins ?? []).map(
([plugin, version]: [string, string]): string => `${plugin}@${version}`,
Expand Down

0 comments on commit bc3c6af

Please sign in to comment.