diff --git a/.changeset/slimy-elephants-impress.md b/.changeset/slimy-elephants-impress.md new file mode 100644 index 00000000..fa047158 --- /dev/null +++ b/.changeset/slimy-elephants-impress.md @@ -0,0 +1,5 @@ +--- +'davinci-github-actions': major +--- + +- bump node version to 18 diff --git a/.github/workflows/pr-checks.yml b/.github/workflows/pr-checks.yml index 9213c743..4be4a670 100644 --- a/.github/workflows/pr-checks.yml +++ b/.github/workflows/pr-checks.yml @@ -40,10 +40,10 @@ jobs: with: ref: ${{ github.event.pull_request.head.sha }} - - name: Setup Node.js 16.x + - name: Setup Node.js 18.x uses: actions/setup-node@v3.8.1 with: - node-version: 16 + node-version: 18 - uses: ./yarn-install diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 55ee7600..82ec292d 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -29,7 +29,7 @@ jobs: - name: Setup node uses: actions/setup-node@v3.8.1 with: - node-version: 16 + node-version: 18 - uses: ./yarn-install diff --git a/build-publish-alpha-package/action.yml b/build-publish-alpha-package/action.yml index fec88693..911b06ba 100644 --- a/build-publish-alpha-package/action.yml +++ b/build-publish-alpha-package/action.yml @@ -29,7 +29,7 @@ runs: - name: Setup node uses: actions/setup-node@v3.2.0 with: - node-version: 16 + node-version: 18 - uses: toptal/davinci-github-actions/yarn-install@v6.0.0 diff --git a/build-push-image/action.yml b/build-push-image/action.yml index 52bf5da3..217708e1 100644 --- a/build-push-image/action.yml +++ b/build-push-image/action.yml @@ -43,7 +43,7 @@ runs: - name: Setup node uses: actions/setup-node@v3.2.0 with: - node-version: 16 + node-version: 18 - id: meta-latest shell: bash diff --git a/create-matrix/action.yml b/create-matrix/action.yml index d8cbda48..b861973d 100644 --- a/create-matrix/action.yml +++ b/create-matrix/action.yml @@ -19,5 +19,5 @@ outputs: description: Information about current repository || boolean runs: - using: node16 + using: node18 main: dist/index.js diff --git a/deploy-storybook/action.yml b/deploy-storybook/action.yml index d793af99..b44ff42a 100644 --- a/deploy-storybook/action.yml +++ b/deploy-storybook/action.yml @@ -61,7 +61,7 @@ runs: - name: Set up node uses: actions/setup-node@v3 with: - node-version: 16 + node-version: 18 - name: Install Dependencies if: ${{ inputs.use-prebuilt-package == 'false' && inputs.use-prebuilt-image == 'false' }} diff --git a/get-changeset-info/action.yml b/get-changeset-info/action.yml index 8770276d..fc82ab8c 100644 --- a/get-changeset-info/action.yml +++ b/get-changeset-info/action.yml @@ -17,5 +17,5 @@ outputs: description: Packages that have changed but are missing in changesets || Array runs: - using: node16 + using: node18 main: dist/index.js diff --git a/package.json b/package.json index ec34ebd8..cd878093 100644 --- a/package.json +++ b/package.json @@ -4,6 +4,9 @@ "description": "", "author": "Toptal", "license": "MIT", + "engines": { + "node": ">=18" + }, "scripts": { "documentation:generate": "ncc run _scripts/documentation/generate.ts -C", "release": "changeset tag", diff --git a/report-affected-packages/action.yml b/report-affected-packages/action.yml index acf17bb3..52142f2d 100644 --- a/report-affected-packages/action.yml +++ b/report-affected-packages/action.yml @@ -6,7 +6,7 @@ runs: steps: - uses: actions/setup-node@v3.2.0 with: - node-version: 16 + node-version: 18 - uses: masesgroup/retrieve-changed-files@2e42889ff54e0810cf088f73a38a2db5a9d0684f id: files