Logo
Explore Help
Sign In
mirror/setup-node
2
0
Fork 0
You've already forked setup-node
Code Issues Pull Requests Actions Packages Projects Releases 63 Wiki Activity

63 Releases 71 Tags

RSS Feed
  • v3.1.0 5b52f097d3
    Compare

    Add caching support on GHES 3.5 Stable

    dmitry-shibanov released this 2022-04-01 16:41:49 +08:00 | 255 commits to main since this release

    In scope of this release we added support for caching from GHES 3.5 and fixed download issue for files > 2GB during restore. Besides, we updated actions/cache dependency to 2.0.0 version.

    Downloads
    • Source Code (ZIP)
    • Source Code (TAR.GZ)
  • v3.0.0 9ced9a43a2
    Compare

    v3.0.0 Stable

    dmitry-shibanov released this 2022-02-24 21:31:57 +08:00 | 263 commits to main since this release

    In scope of this release we changed version of the runtime Node.js for the setup-node action and updated package-lock.json file to v2.

    Breaking Changes

    • With the update to Node 16 in https://github.com/actions/setup-node/pull/414, all scripts will now be run with Node 16 rather than Node 12.
    • We removed deprecated version input (https://github.com/actions/setup-node/pull/424). Please use node-version input instead.
    Downloads
    • Source Code (ZIP)
    • Source Code (TAR.GZ)
  • v2.5.1 1f8c6b94b2
    Compare

    Fix logic of error handling for npm warning and uncaught exception Stable

    dmitry-shibanov released this 2021-12-28 17:25:43 +08:00 | 271 commits to main since this release

    In scope of this release we fix logic of error handling related to caching (https://github.com/actions/setup-node/pull/358) and (https://github.com/actions/setup-node/pull/359).

    In the previous behaviour we relied on stderr output to throw error. The warning messages from package managers can be written to the stderr's output. For now the action will throw an error only if exit code differs from zero. Besides, we add logic to сatch and log unhandled exceptions.

    Downloads
    • Source Code (ZIP)
    • Source Code (TAR.GZ)
  • v2.5.0 04c56d2f95
    Compare

    Adding Node.js version file support Stable

    dmitry-shibanov released this 2021-11-29 18:35:08 +08:00 | 273 commits to main since this release

    In scope of this release we add the node-version-file input and update actions/cache dependency to the latest version.

    Adding Node.js version file support

    The new input (node-version-file) provides functionality to specify the path to the file containing Node.js's version with such behaviour:

    • If the file does not exist the action will throw an error.
    • If you specify both node-version and node-version-file inputs, the action will use value from the node-version input and throw the following warning: Both node-version and node-version-file inputs are specified, only node-version will be used.
    • For now the action does not support all of the variety of values for Node.js version files. The action can handle values according to the documentation and values with v prefix (v14)
    steps:
      - uses: actions/checkout@v2
      - name: Setup node from node version file
        uses: actions/setup-node@v2
        with:
          node-version-file: '.nvmrc'
      - run: npm install
      - run: npm test
    

    Update actions/cache dependency to 1.0.8 version.

    We updated actions/cache dependency to the latest version (1.0.8). For more information please refer to the toolkit/cache.

    Downloads
    • Source Code (ZIP)
    • Source Code (TAR.GZ)
  • v2.4.1 270253e841
    Compare

    Add "cache-hit" output Stable

    dmitry-shibanov released this 2021-09-24 23:27:23 +08:00 | 278 commits to main since this release

    This release introduces a new output: cache-hit (#327).

    The cache-hit output contains boolean value indicating that an exact match was found for the key. It shows that the action uses already existing cache or not. The output is available only if cache is enabled.

    Downloads
    • Source Code (ZIP)
    • Source Code (TAR.GZ)
  • v2.4.0 25316bbc1f
    Compare

    Support caching for mono repos and repositories with complex structure Stable

    MaksimZhukov released this 2021-08-06 00:17:12 +08:00 | 284 commits to main since this release

    This release introduces dependency caching support for mono repos and repositories with complex structure (#305).

    By default, the action searches for the dependency file (package-lock.json or yarn.lock) in the repository root. Use the cache-dependency-path input for cases when multiple dependency files are used, or they are located in different subdirectories. This input supports wildcards or a list of file names for caching multiple dependencies.

    Yaml example:

    steps:
    - uses: actions/checkout@v2
    - uses: actions/setup-node@v2
      with:
        node-version: 14
        cache: npm
        cache-dependency-path: 'sub-project/package-lock.json'
    

    For more examples of using cache-dependency-path input, see the Advanced usage guide.

    Downloads
    • Source Code (ZIP)
    • Source Code (TAR.GZ)
  • v2.3.2 4d0182af5e
    Compare

    Revert temporary fix Stable

    AlenaSviridenko released this 2021-08-04 22:21:06 +08:00 | 294 commits to main since this release

    We had to disable pre-cached Node.js usage in the previous version due to the broken image cache. Now cache is fixed, so we can safely enable its usage again.
    Thank you for understanding.

    Downloads
    • Source Code (ZIP)
    • Source Code (TAR.GZ)
  • v1.4.6 f1f314fca9
    Compare

    Revert temporary fix for v1 Stable

    AlenaSviridenko released this 2021-08-04 22:21:02 +08:00 | 0 commits to servicing/v1 since this release

    We had to disable pre-cached Node.js usage in the previous version due to the broken image cache. Now cache is fixed, so we can safely enable its usage again.
    Thank you for understanding.

    Downloads
    • Source Code (ZIP)
    • Source Code (TAR.GZ)
  • v1.4.5 eb416799cf
    Compare

    Temporary maintenance fix Stable

    MaksimZhukov released this 2021-08-04 00:21:16 +08:00 | 2 commits to servicing/v1 since this release

    Temporarily disabled usage of pre-cached Node.js

    Downloads
    • Source Code (ZIP)
    • Source Code (TAR.GZ)
  • v2.3.1 d6e3b5539e
    Compare

    Temporary maintenance fix. Stable

    AlenaSviridenko released this 2021-08-04 00:20:30 +08:00 | 297 commits to main since this release

    Temporarily disabled usage of pre-cached Node.js.

    Downloads
    • Source Code (ZIP)
    • Source Code (TAR.GZ)
First Previous ... 2 3 4 5 6 ... Next Last
Powered by Gitea Version: 1.25.4 Page: 1017ms Template: 8ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API