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
  • v2.3.0 aa759c6c94
    Compare

    Support caching pnpm dependencies Stable

    MaksimZhukov released this 2021-07-20 20:22:13 +08:00 | 301 commits to main since this release

    This release introduces dependency caching support for the pnpm package manager (#278).

    Caching pnpm dependencies:

    # This workflow uses actions that are not certified by GitHub.
    # They are provided by a third-party and are governed by
    # separate terms of service, privacy policy, and support
    # documentation.
    
    steps:
    - uses: actions/checkout@v2
    - uses: pnpm/action-setup@646cdf48217256a3d0b80361c5a50727664284f2
      with:
        version: 6.10.0
    - uses: actions/setup-node@v2
      with:
        node-version: '14'
        cache: 'pnpm'
    - run: pnpm install
    - run: pnpm test
    

    NOTE: pnpm caching support requires pnpm version >= 6.10.0

    Downloads
    • Source Code (ZIP)
    • Source Code (TAR.GZ)
  • v2.2.0 38d90ce44d
    Compare

    Support caching dependencies and LTS aliases Stable

    maxim-lobanov released this 2021-06-30 20:20:50 +08:00 | 314 commits to main since this release

    This release brings two major features:

    • Support LTS aliases #270
    • Implementation of node's caching #272

    Supported version syntax

    The node-version input supports the following syntax:

    major versions: 12, 14, 16
    more specific versions: 10.15, 14.2.0, 16.3.0
    nvm LTS syntax: lts/erbium, lts/fermium, lts/*

    Caching dependencies

    The action has a built-in functionality for caching and restoring npm/yarn dependencies. Supported package managers are npm, yarn. The cache input is optional, and caching is turned off by default.

    Caching npm dependencies:

    steps:
    - uses: actions/checkout@v2
    - uses: actions/setup-node@v2
      with:
        node-version: '14'
        cache: 'npm'
    - run: npm install
    - run: npm test
    

    Caching yarn dependencies:

    steps:
    - uses: actions/checkout@v2
    - uses: actions/setup-node@v2
      with:
        node-version: '14'
        cache: 'yarn'
    - run: yarn install
    - run: yarn test
    

    Yarn caching handles both yarn versions: 1 or 2.

    At the moment, only lock files in the project root are supported.

    Downloads
    • Source Code (ZIP)
    • Source Code (TAR.GZ)
  • v2.1.5 46071b5c7a
    Compare

    v2.1.5 Release Stable

    bryanmacfarlane released this 2021-02-17 23:52:41 +08:00 | 357 commits to main since this release

    Improve error and warning line number handling (problem matcher regex)

    Downloads
    • Source Code (ZIP)
    • Source Code (TAR.GZ)
  • v2.1.4 c46424eee2
    Compare

    v2.1.4 Stable

    maxim-lobanov released this 2020-12-16 17:47:21 +08:00 | 363 commits to main since this release

    The first stable release of actions/setup-node V2

    Downloads
    • Source Code (ZIP)
    • Source Code (TAR.GZ)
  • v2.1.3 27082cecf3
    Compare

    v2.1.3 (beta) Pre-Release

    maxim-lobanov released this 2020-12-10 15:21:45 +08:00 | 378 commits to main since this release

    • Add support for specifying architecture of Node.JS
    Downloads
    • Source Code (ZIP)
    • Source Code (TAR.GZ)
  • v2.1.2 c6fd00ceb9
    Compare

    v2.1.2 (beta) Pre-Release

    thboop released this 2020-10-02 00:03:22 +08:00 | 409 commits to main since this release

    • Updated communication with runner to use environment files rather then workflow commands
    Downloads
    • Source Code (ZIP)
    • Source Code (TAR.GZ)
  • v1.4.4 56899e050a
    Compare

    v1.4.4 Stable

    thboop released this 2020-10-02 00:03:13 +08:00 | 7 commits to servicing/v1 since this release

    • Updated communication with runner to use environment files rather then workflow commands
    Downloads
    • Source Code (ZIP)
    • Source Code (TAR.GZ)
  • v1.4.3 4bb8c45053
    Compare

    v1.4.3 Stable

    thboop released this 2020-08-12 02:49:26 +08:00 | 8 commits to servicing/v1 since this release

    This release includes vendored licenses for this action's npm dependencies.

    Downloads
    • Source Code (ZIP)
    • Source Code (TAR.GZ)
  • v2.1.1 321b6ccb03
    Compare

    v2.1.1 (beta) Pre-Release

    maxim-lobanov released this 2020-07-21 00:50:59 +08:00 | 1 commits to master since this release

    Switch to main branch of node-versions repository to consume latest added versions.

    Downloads
    • Source Code (ZIP)
    • Source Code (TAR.GZ)
  • v2.1.0 1ae8f4b1fd
    Compare

    v2.1.0 (beta) Pre-Release

    bryanmacfarlane released this 2020-06-30 02:56:37 +08:00 | 2 commits to master since this release

    Added check-latest input option to query the versions manifest for latest version before checking for semver match in local VM cache first (the default). That's useful for ensuring you get latest as soon as it's released to the cache but at the cost of perf / reliability (much more likely to incur and download and extract).

    Downloads
    • Source Code (ZIP)
    • Source Code (TAR.GZ)
First Previous ... 3 4 5 6 7 Next Last
Powered by Gitea Version: 1.25.4 Page: 380ms Template: 71ms
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