diff --git a/.github/workflows/check-release-repositories.yml b/.github/workflows/check-release-repositories.yml index bfa12e46..0f47911b 100644 --- a/.github/workflows/check-release-repositories.yml +++ b/.github/workflows/check-release-repositories.yml @@ -13,7 +13,12 @@ jobs: runs-on: ubuntu-22.04 strategy: matrix: - repository: [ 'myparcelnl/woocommerce', 'myparcelnl/prestashop', 'myparcelnl/magento' ] + repository: + [ + 'myparcelnl/woocommerce', + 'myparcelnl/prestashop', + 'myparcelnl/magento', + ] steps: - uses: actions/checkout@v4 with: diff --git a/.github/workflows/push.yml b/.github/workflows/push.yml index 24e1c081..a9712fe6 100644 --- a/.github/workflows/push.yml +++ b/.github/workflows/push.yml @@ -5,6 +5,7 @@ on: branches: - main - 2.x + - 3.x workflow_dispatch: @@ -29,7 +30,7 @@ jobs: - uses: myparcelnl/actions/yarn-install@v3 with: - node-version: '18' + node-version: '20' - run: yarn semantic-release env: diff --git a/README.md b/README.md index 5adc4092..517c1a00 100644 --- a/README.md +++ b/README.md @@ -15,9 +15,7 @@ This is a collection of reusable composite actions for GitHub Actions workflows. - [aws-s3-sync](#aws-s3-sync) - [Node](#node) - [npm-install](#npm-install) - - [setup-node](#setup-node) - [yarn-install](#yarn-install) - - [yarn2-install](#yarn2-install-deprecated) - [PHP](#php) - [composer-install](#composer-install) - [composer-update](#composer-update) @@ -54,9 +52,9 @@ bug fixes. **We recommend using a major version.** | Version | Constraint | | ------- | :---------------------- | -| v2 | `>= v2.0.0 && > v3.0.0` | -| v2.0 | `>= v2.0.0 && > v2.1.0` | -| v2.0.0 | `v2.0.0` | +| v4 | `>= v4.0.0 && < v5.0.0` | +| v4.0 | `>= v4.0.0 && < v4.1.0` | +| v4.0.0 | `v4.0.0` | You can also use `main` to always use the latest actions, but this is not recommended as this will also include breaking changes. @@ -64,7 +62,7 @@ recommended as this will also include breaking changes. #### Major example ```yaml -- uses: myparcelnl/actions/yarn-install@v3 +- uses: myparcelnl/actions/yarn-install@v4 ``` Will use every minor and patch update within `v2.x.x`. @@ -72,7 +70,7 @@ Will use every minor and patch update within `v2.x.x`. #### Minor example ```yaml -- uses: myparcelnl/actions/yarn-install@v3 +- uses: myparcelnl/actions/yarn-install@v4 ``` Will use every patch update within `v2.1.x`. @@ -90,7 +88,7 @@ Generate credentials for a [GitHub app]. ##### Example ```yaml -- uses: myparcelnl/actions/setup-app-credentials@v3 +- uses: myparcelnl/actions/setup-app-credentials@v4 with: app-id: ${{ secrets.APP_ID }} private-key: ${{ secrets.APP_PRIVATE_KEY }} @@ -129,7 +127,7 @@ Setup AWS credentials for use with other AWS actions. ##### Example ```yaml -- uses: myparcelnl/actions/aws-setup@v3 +- uses: myparcelnl/actions/aws-setup@v4 with: aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }} aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }} @@ -153,13 +151,13 @@ Sync a directory to an S3 bucket. Must be run after [aws-setup]. ##### Example ```yaml -- uses: myparcelnl/actions/aws-setup@v3 +- uses: myparcelnl/actions/aws-setup@v4 with: aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }} aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }} aws-region: eu-west-1 -- uses: myparcelnl/actions/aws-s3-sync@v3 +- uses: myparcelnl/actions/aws-s3-sync@v4 with: source: dist bucket: my-bucket @@ -187,9 +185,9 @@ Sync a directory to an S3 bucket. Must be run after [aws-setup]. ##### Example ```yaml -- uses: myparcelnl/actions/npm-install@v3 +- uses: myparcelnl/actions/npm-install@v4 with: - node-version: 18 + node-version: 20 ``` #### yarn-install @@ -205,9 +203,9 @@ Can be used with Yarn 1 as well as Yarn 2, 3 and 4 (berry). ##### Example ```yaml -- uses: myparcelnl/actions/yarn-install@v3 +- uses: myparcelnl/actions/yarn-install@v4 with: - node-version: 18 + node-version: 20 yarn-args: --ignore-scripts ``` @@ -218,55 +216,6 @@ Can be used with Yarn 1 as well as Yarn 2, 3 and 4 (berry). | No | `node-version` | The Node.js version to use | `19` | `18` | | No | `yarn-args` | Arguments to use with yarn install | `--ignore-scripts` | ` ` | -#### yarn2-install (deprecated) - -> Note: This action is deprecated and just calls [yarn-install]. Use myparcelnl/actions/yarn-install instead. - -#### pnpm-install - -[Source](pnpm-install/action.yml) - -1. Runs [actions/setup-node] -2. Installs pnpm -3. Handles pnpm cache -4. Runs `pnpm install --frozen-lockfile` - -##### Example - -```yaml -- uses: myparcelnl/actions/pnpm-install@v3 - with: - node-version: 18 - pnpm-version: 7.4.0 - pnpm-args: --ignore-scripts --frozen-lockfile -``` - -##### Inputs - -| Required | Name | Description | Example | Default | -| -------- | -------------- | ---------------------------------- | ------------------------------------ | ------------------- | -| No | `node-version` | The Node.js version to use | `18` | `18` | -| No | `pnpm-version` | The pnpm version to use | `7.4.0` | `7.6.0` | -| No | `pnpm-args` | Arguments to use with pnpm install | `--ignore-scripts --frozen-lockfile` | `--frozen-lockfile` | - -#### ~~setup-node~~ - -> ⚠️ Deprecated: use actions/setup-node@v3 instead. - -[Source](setup-node/action.yml) - -1. Sets up node@14 - - You can change the version by passing `node-version`. - -##### Example - -```yaml -- name: - uses: myparcelnl/actions/setup-node@v3 - with: - node-version: 18 -``` - ### PHP #### composer-install @@ -282,7 +231,7 @@ Can be used with Yarn 1 as well as Yarn 2, 3 and 4 (berry). ##### Example ```yaml -- uses: myparcelnl/actions/composer-install@v3 +- uses: myparcelnl/actions/composer-install@v4 with: php-version: '8.0' flags: --no-dev --no-plugins @@ -311,7 +260,7 @@ Can be used with Yarn 1 as well as Yarn 2, 3 and 4 (berry). ##### Example ```yaml -- uses: myparcelnl/actions/composer-update@v3 +- uses: myparcelnl/actions/composer-update@v4 with: php-version: '8.0' flags: --no-dev --no-plugins @@ -337,7 +286,7 @@ Same as [composer-install]. ##### Example ```yaml -- uses: myparcelnl/actions/update-coverage@v3 +- uses: myparcelnl/actions/update-coverage@v4 with: token: ${{ secrets.CODECOV_TOKEN }} ``` @@ -373,7 +322,7 @@ jobs based on git ref and tag. ##### Example ```yaml -- uses: myparcelnl/actions/build-docker-image@v3 +- uses: myparcelnl/actions/build-docker-image@v4 id: docker with: image: myparcel/php-sdk @@ -414,7 +363,7 @@ jobs using a registry. ##### Example ```yaml -- uses: myparcelnl/actions/build-docker-image@v3 +- uses: myparcelnl/actions/build-docker-image@v4 id: docker with: image: myparcel/php-sdk @@ -447,7 +396,7 @@ image name in the rest of your workflow. ##### Example ```yaml -- uses: myparcelnl/actions/pull-docker-image@v3 +- uses: myparcelnl/actions/pull-docker-image@v4 id: pull with: image: ghcr.io/myparcelnl/php-xd:7.4 @@ -486,9 +435,9 @@ made (or not). ##### Example ```yaml -- uses: myparcelnl/actions/yarn-install@v3 +- uses: myparcelnl/actions/yarn-install@v4 -- uses: myparcelnl/actions/semantic-release@v3 +- uses: myparcelnl/actions/semantic-release@v4 id: release with: token: ${{ secrets.GITHUB_TOKEN }} @@ -511,7 +460,7 @@ Set up git credentials and authenticate as a [GitHub app]. ##### Example ```yaml -- uses: myparcelnl/actions/setup-git-credentials@v3 +- uses: myparcelnl/actions/setup-git-credentials@v4 with: app-id: ${{ secrets.GITHUB_APP_ID }} private-key: ${{ secrets.GITHUB_APP_PRIVATE_KEY }} @@ -553,7 +502,7 @@ Rebase two branches and push. ##### Example ```yaml -- uses: myparcelnl/actions/rebase@v3 +- uses: myparcelnl/actions/rebase@v4 with: token: ${{ secrets.GITHUB_TOKEN }} base: main @@ -580,7 +529,7 @@ GitHub actions. ##### Example ```yaml -- uses: myparcelnl/actions/update-tags@v3 +- uses: myparcelnl/actions/update-tags@v4 with: minor: true env: @@ -636,12 +585,12 @@ Meant for use within other actions, because obviously you could just use the `to ##### Example ```yaml -- uses: myparcelnl/actions/get-github-token@v3 +- uses: myparcelnl/actions/get-github-token@v4 id: passed-token with: github-token: ${{ secrets.GITHUB_TOKEN }} -- uses: myparcelnl/actions/get-github-token@v3 +- uses: myparcelnl/actions/get-github-token@v4 id: generated-token with: app-id: ${{ secrets.GITHUB_APP_ID }} @@ -675,13 +624,13 @@ Assign the author of a pull request to the pull request. For use with the `pull_ ##### Example ```yaml -- uses: myparcelnl/actions/pr-assign-author@v3 +- uses: myparcelnl/actions/pr-assign-author@v4 with: token: ${{ secrets.GITHUB_TOKEN }} # Or, if you want to use a GitHub app: -- uses: myparcelnl/actions/pr-assign-author@v3 +- uses: myparcelnl/actions/pr-assign-author@v4 with: app-id: ${{ secrets.GITHUB_APP_ID }} private-key: ${{ secrets.GITHUB_APP_PRIVATE_KEY }} @@ -716,7 +665,7 @@ Label a pull request based on the review state. For use with the `pull_request_r ##### Example ```yaml -- uses: myparcelnl/actions/pr-label-by-review@v3 +- uses: myparcelnl/actions/pr-label-by-review@v4 with: # Either a GitHub token or a GitHub app is required. token: ${{ secrets.GITHUB_TOKEN }} @@ -752,13 +701,13 @@ Validate the title of a pull request based on the conventional commit format. Fo ##### Example ```yaml -- uses: myparcelnl/actions/pr-validate-title-conventional@v3 +- uses: myparcelnl/actions/pr-validate-title-conventional@v4 with: token: ${{ secrets.GITHUB_TOKEN }} # Or, if you want to use a GitHub app: -- uses: myparcelnl/actions/pr-validate-title-conventional@v3 +- uses: myparcelnl/actions/pr-validate-title-conventional@v4 with: app-id: ${{ secrets.GITHUB_APP_ID }} private-key: ${{ secrets.GITHUB_APP_PRIVATE_KEY }} @@ -788,7 +737,7 @@ Mark issues and pull requests as stale after a period of inactivity. For use wit ##### Example ```yaml -- uses: myparcelnl/actions/stale@v3 +- uses: myparcelnl/actions/stale@v4 with: token: ${{ secrets.GITHUB_TOKEN }} days-before-stale: 30 @@ -825,7 +774,7 @@ with the `pull_request` event. ##### Example ```yaml -- uses: myparcelnl/actions/toggle-label@v3 +- uses: myparcelnl/actions/toggle-label@v4 with: token: ${{ secrets.GITHUB_TOKEN }} label: 'failing tests' @@ -855,7 +804,7 @@ Setup [Bun](https://bun.sh) and install dependencies. ##### Example ```yaml -- uses: myparcelnl/actions/bun-install@v3 +- uses: myparcelnl/actions/bun-install@v4 with: bun-version: 1.0.0 ``` @@ -877,7 +826,7 @@ If you don't pass the `config` input, it will look for the `bundlewatch` key in ##### Example ```yaml -- uses: myparcelnl/actions/bundlewatch@v3 +- uses: myparcelnl/actions/bundlewatch@v4 with: config: .bundlewatch.json token: ${{ secrets.BUNDLEWATCH_TOKEN }} @@ -901,7 +850,7 @@ Save and restore the [Nx](https://nx.dev/) cache. ##### Example ```yaml -- uses: myparcelnl/actions/cache-nx@v3 +- uses: myparcelnl/actions/cache-nx@v4 ``` [BundleWatch]: https://bundlewatch.io/ diff --git a/build-docker-image-reg/action.yml b/build-docker-image-reg/action.yml index 37817a80..e37ba4fe 100644 --- a/build-docker-image-reg/action.yml +++ b/build-docker-image-reg/action.yml @@ -41,7 +41,7 @@ outputs: runs: using: composite steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: docker/login-action@v2 with: diff --git a/bun-install/action.yml b/bun-install/action.yml index 32fbaf8d..92ea61ab 100644 --- a/bun-install/action.yml +++ b/bun-install/action.yml @@ -15,7 +15,7 @@ inputs: runs: using: composite steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: oven-sh/setup-bun@v1 with: @@ -33,7 +33,7 @@ runs: - name: 'Cache bun dependencies' if: steps.variables.outputs.hash != '' - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ${{ steps.variables.outputs.cache-dir }} key: ${{ runner.os }}-bun-${{ steps.variables.outputs.hash }} diff --git a/cache-nx/action.yml b/cache-nx/action.yml index ca5e7422..f393e8b7 100644 --- a/cache-nx/action.yml +++ b/cache-nx/action.yml @@ -5,7 +5,7 @@ runs: using: composite steps: - name: 'Cache Nx' - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: node_modules/.cache/nx key: ${{ runner.os }}-cache-nx-${{ hashFiles('nx.json') }}-${{ github.sha }} diff --git a/composer-install/action.yml b/composer-install/action.yml index facdd651..1799df4e 100644 --- a/composer-install/action.yml +++ b/composer-install/action.yml @@ -32,7 +32,7 @@ runs: echo "image=ghcr.io/myparcelnl/php-xd:${{ inputs.php-version }}-cli-alpine" >> $GITHUB_OUTPUT - name: 'Handle composer cache' - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: /tmp/composer-cache key: composer-${{ hashFiles('**/composer.json, **/composer.lock') }} @@ -40,7 +40,7 @@ runs: composer- - name: 'Handle vendor folder cache' - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: vendor key: composer-vendor-${{ hashFiles('**/composer.json', '**/composer.lock') }}-${{ inputs.flags }} @@ -48,7 +48,7 @@ runs: composer-vendor-${{ hashFiles('**/composer.json', '**/composer.lock') }}- composer-vendor- - - uses: myparcelnl/actions/pull-docker-image@v3 + - uses: myparcelnl/actions/pull-docker-image@v4 with: image: ${{ steps.prepare.outputs.image }} diff --git a/composer-update/action.yml b/composer-update/action.yml index b6046102..beeaf9cd 100644 --- a/composer-update/action.yml +++ b/composer-update/action.yml @@ -25,7 +25,7 @@ outputs: runs: using: composite steps: - - uses: myparcelnl/actions/composer-install@v3 + - uses: myparcelnl/actions/composer-install@v4 id: install with: command: ${{ inputs.command }} diff --git a/get-github-token/action.yml b/get-github-token/action.yml index 6e38f139..73e85a64 100644 --- a/get-github-token/action.yml +++ b/get-github-token/action.yml @@ -31,7 +31,7 @@ runs: - id: app if: inputs.token == '' && (inputs.app-id != '' || inputs.private-key != '') - uses: myparcelnl/actions/setup-app-credentials@v3 + uses: myparcelnl/actions/setup-app-credentials@v4 with: app-id: ${{ inputs.app-id }} private-key: ${{ inputs.private-key }} diff --git a/npm-install/action.yml b/npm-install/action.yml index d85f6688..dd5fea3b 100644 --- a/npm-install/action.yml +++ b/npm-install/action.yml @@ -4,13 +4,13 @@ description: 'Install npm dependencies from scratch or from cache' inputs: node-version: description: 'The Node.js version to use' - default: '18' + default: '20' required: false runs: using: composite steps: - - uses: actions/setup-node@v3 + - uses: actions/setup-node@v4 with: node-version: ${{ inputs.node-version }} cache: 'npm' diff --git a/package.json b/package.json index 88a450ce..37ae6bfa 100644 --- a/package.json +++ b/package.json @@ -55,7 +55,7 @@ "@myparcel/semantic-release-config": "^4.1.0", "@semantic-release/exec": "^6.0.3", "@semantic-release/git": "^10.0.1", - "@types/node": "^18.11.18", + "@types/node": "^20.0.0", "eslint": "^8.32.0", "husky": "^8.0.3", "is-ci": "^3.0.1", @@ -67,5 +67,8 @@ "tsup": "^6.5.0", "typescript": "^4.9.4" }, - "packageManager": "yarn@3.3.1" + "packageManager": "yarn@3.3.1", + "volta": { + "node": "20.11.0" + } } diff --git a/pnpm-install/action.yml b/pnpm-install/action.yml index 8818719e..859fc0fd 100644 --- a/pnpm-install/action.yml +++ b/pnpm-install/action.yml @@ -4,12 +4,12 @@ description: 'Install pnpm dependencies from scratch or from cache' inputs: node-version: description: 'The Node.js version to use' - default: '18' + default: '20' required: false pnpm-version: description: 'The pnpm version to use' - default: '7.6.0' + default: '8.15.1' required: false pnpm-args: @@ -20,14 +20,14 @@ inputs: runs: using: composite steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: pnpm/action-setup@v2.4.0 with: version: ${{ inputs.pnpm-version }} run_install: false - - uses: actions/setup-node@v3 + - uses: actions/setup-node@v4 with: node-version: ${{ inputs.node-version }} cache: 'pnpm' diff --git a/pr-assign-author/action.yml b/pr-assign-author/action.yml index 1a123c99..f2873afb 100644 --- a/pr-assign-author/action.yml +++ b/pr-assign-author/action.yml @@ -14,9 +14,9 @@ inputs: runs: using: composite steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - - uses: myparcelnl/actions/get-github-token@v3 + - uses: myparcelnl/actions/get-github-token@v4 id: token with: token: ${{ inputs.token }} diff --git a/pr-label-by-review/action.yml b/pr-label-by-review/action.yml index b15751d5..89e66e99 100644 --- a/pr-label-by-review/action.yml +++ b/pr-label-by-review/action.yml @@ -29,9 +29,9 @@ inputs: runs: using: composite steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - - uses: myparcelnl/actions/get-github-token@v3 + - uses: myparcelnl/actions/get-github-token@v4 id: token with: token: ${{ inputs.token }} diff --git a/pr-validate-title-conventional/action.yml b/pr-validate-title-conventional/action.yml index f2d15e51..61863802 100644 --- a/pr-validate-title-conventional/action.yml +++ b/pr-validate-title-conventional/action.yml @@ -23,9 +23,9 @@ outputs: runs: using: composite steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - - uses: myparcelnl/actions/get-github-token@v3 + - uses: myparcelnl/actions/get-github-token@v4 id: token with: token: ${{ inputs.token }} diff --git a/pull-docker-image/action.yml b/pull-docker-image/action.yml index abfbebce..4af5a7ca 100644 --- a/pull-docker-image/action.yml +++ b/pull-docker-image/action.yml @@ -19,7 +19,7 @@ outputs: runs: using: composite steps: - - uses: actions/cache@v3 + - uses: actions/cache@v4 id: docker-cache with: path: ${{ inputs.cache-directory }} diff --git a/rebase/action.yml b/rebase/action.yml index 1b1375bf..8528d656 100644 --- a/rebase/action.yml +++ b/rebase/action.yml @@ -32,7 +32,7 @@ inputs: runs: using: composite steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: token: ${{ inputs.token }} ref: ${{ inputs.target }} diff --git a/setup-git-credentials/action.yml b/setup-git-credentials/action.yml index 14990f52..2cb94b8e 100644 --- a/setup-git-credentials/action.yml +++ b/setup-git-credentials/action.yml @@ -30,7 +30,7 @@ outputs: runs: using: composite steps: - - uses: myparcelnl/actions/setup-app-credentials@v3 + - uses: myparcelnl/actions/setup-app-credentials@v4 id: credentials with: app-id: ${{ inputs.app-id }} diff --git a/setup-node/action.yml b/setup-node/action.yml deleted file mode 100644 index 20ac72f2..00000000 --- a/setup-node/action.yml +++ /dev/null @@ -1,16 +0,0 @@ -name: 'Setup Node' -description: 'Setup Node' - -inputs: - node-version: - description: 'The Node.js version to use' - default: '18' - required: false - -runs: - using: composite - steps: - - name: 'Setup Node' - uses: actions/setup-node@v2 - with: - node-version: ${{ inputs.node-version }} diff --git a/stale/action.yml b/stale/action.yml index 03710b89..841ce74b 100644 --- a/stale/action.yml +++ b/stale/action.yml @@ -41,14 +41,14 @@ outputs: runs: using: composite steps: - - uses: myparcelnl/actions/get-github-token@v3 + - uses: myparcelnl/actions/get-github-token@v4 id: token with: token: ${{ inputs.token }} app-id: ${{ inputs.app-id }} private-key: ${{ inputs.private-key }} - - uses: actions/stale@v8 + - uses: actions/stale@v9 id: stale with: repo-token: ${{ steps.token.outputs.token }} diff --git a/toggle-label/action.yml b/toggle-label/action.yml index de964610..531f48c2 100644 --- a/toggle-label/action.yml +++ b/toggle-label/action.yml @@ -22,7 +22,7 @@ inputs: runs: using: composite steps: - - uses: myparcelnl/actions/get-github-token@v3 + - uses: myparcelnl/actions/get-github-token@v4 id: token with: token: ${{ inputs.token }} diff --git a/yarn-install/action.yml b/yarn-install/action.yml index 26d45a43..0c8917f3 100644 --- a/yarn-install/action.yml +++ b/yarn-install/action.yml @@ -4,7 +4,7 @@ description: 'Install yarn dependencies using cache' inputs: node-version: description: 'The Node.js version to use' - default: '18' + default: '20' required: false yarn-args: @@ -14,7 +14,7 @@ inputs: runs: using: composite steps: - - uses: actions/setup-node@v3 + - uses: actions/setup-node@v4 with: node-version: ${{ inputs.node-version }} cache: 'yarn' @@ -35,7 +35,7 @@ runs: - name: 'Cache yarn downloads' if: steps.variables.outputs.version >= 2 - uses: actions/cache@v3 + uses: actions/cache@v4 id: yarn-download-cache with: path: ${{ steps.variables.outputs.cache-folder }} @@ -45,7 +45,7 @@ runs: - name: 'Cache yarn install state' if: steps.variables.outputs.version >= 2 - uses: actions/cache@v3 + uses: actions/cache@v4 id: yarn-install-state-cache with: path: .yarn/ci-cache/ diff --git a/yarn.lock b/yarn.lock index 2f5bcb75..7d042311 100644 --- a/yarn.lock +++ b/yarn.lock @@ -446,7 +446,7 @@ __metadata: "@myparcel/semantic-release-config": ^4.1.0 "@semantic-release/exec": ^6.0.3 "@semantic-release/git": ^10.0.1 - "@types/node": ^18.11.18 + "@types/node": ^20.0.0 eslint: ^8.32.0 husky: ^8.0.3 is-ci: ^3.0.1 @@ -1048,10 +1048,12 @@ __metadata: languageName: node linkType: hard -"@types/node@npm:^18.11.18": - version: 18.15.11 - resolution: "@types/node@npm:18.15.11" - checksum: 977b4ad04708897ff0eb049ecf82246d210939c82461922d20f7d2dcfd81bbc661582ba3af28869210f7e8b1934529dcd46bff7d448551400f9d48b9d3bddec3 +"@types/node@npm:^20.0.0": + version: 20.11.16 + resolution: "@types/node@npm:20.11.16" + dependencies: + undici-types: ~5.26.4 + checksum: 51f0831c1219bf4698e7430aeb9892237bd851deeb25ce23c5bb0ceefcc77c3b114e48f4e98d9fc26def5a87ba9d8079f0281dd37bee691140a93f133812c152 languageName: node linkType: hard @@ -6398,6 +6400,13 @@ __metadata: languageName: node linkType: hard +"undici-types@npm:~5.26.4": + version: 5.26.5 + resolution: "undici-types@npm:5.26.5" + checksum: 3192ef6f3fd5df652f2dc1cd782b49d6ff14dc98e5dced492aa8a8c65425227da5da6aafe22523c67f035a272c599bb89cfe803c1db6311e44bed3042fc25487 + languageName: node + linkType: hard + "unique-filename@npm:^2.0.0": version: 2.0.1 resolution: "unique-filename@npm:2.0.1" diff --git a/yarn2-install/action.yml b/yarn2-install/action.yml deleted file mode 100644 index 3e4b5300..00000000 --- a/yarn2-install/action.yml +++ /dev/null @@ -1,26 +0,0 @@ -name: 'Install yarn 2 dependencies' -description: 'Install yarn 2 dependencies from scratch or from cache' - -inputs: - node-version: - description: 'The Node.js version to use' - default: '18' - required: false - - yarn-args: - description: 'Arguments to use with yarn install' - default: '' - required: false - -runs: - using: composite - steps: - - name: 'Notify about deprecation' - shell: bash - run: | - echo "::warning::myparcelnl/actions/yarn2-install is deprecated. Please switch to myparcelnl/actions/yarn-install. This action will be removed in v4." - - - uses: myparcelnl/actions/yarn-install@v3 - with: - node-version: ${{ inputs.node-version }} - yarn-args: ${{ inputs.yarn-args }}