mirror of https://github.com/FriendsOfTYPO3/tea.git synced 2024-11-13 00:56:12 +01:00
tea/.github/workflows
Stefan Bürk dc04824b4c
[TASK] Streamline nodejs dependency management (#1302)
With #1289 the `nodejs` dependency management has
been changed from `yarn` to `npm` missing the one
or other important requirement.

This change streamlines the management by ...

* adding a `.nvmrc` file to the repository root to
  allow automatic nodejs/npm switch if the nvm shell
  switching is available on the host system.
* adding a `.npmrc` file to specify the lock file
  version and engine option.
* adding `nodejs` and `npm` version constraints as
  `engine` specification to the `package.json` file.
* remove `package-lock.json` from `.gitignore` and
  add it to the repository to ensure reproducable
  setups - which becomes more important if extension
  get custom backend/frontend modules and javascript.
* adding `package-lock.json` to exclude it from archive,
  due to remove from the `.gitignore` file.
* ensuring that new development files are excluded from
  packaging and publishing.
* use `npm ci` in GitHub action workflows to install
  from the lock-file.

Note: This change unblocks adding `npm` dispatching
to `Build/Scripts/runTests.sh`.

Resolves: #1301
Related: #1289
2024-05-14 12:13:43 +02:00
..
auto-approve.yml [TASK] Bump dependabot/fetch-metadata from 1 to 2 (#1198) 2024-03-22 05:18:54 +00:00
auto-merge.yml [TASK] Streamline the auto-merge GitHub Actions workflow (#817) 2023-04-25 05:23:20 +00:00
ci.yml [TASK] Streamline nodejs dependency management (#1302) 2024-05-14 12:13:43 +02:00
codecoverage.yml [TASK] Stop storing development tool PHARs in the repository (#1277) 2024-05-07 12:00:35 +02:00
publish.yml Bump actions/checkout from 3 to 4 (#927) 2023-09-04 14:05:19 +00:00