GithubHelp home page GithubHelp logo

Comments (6)

riderx avatar riderx commented on May 26, 2024

same, none seems to works

from action-setup.

janosh avatar janosh commented on May 26, 2024

I also noticed that cache: pnpm doesn't work.

- name: Set up node
  uses: actions/setup-node@v3
  with:
    cache: pnpm

Looks like this was reported: actions/setup-node#479

from action-setup.

melMass avatar melMass commented on May 26, 2024

The sample from the readme works, there is just a small issue on windows, see #61 or #62 :

- name: Get pnpm store directory
  id: pnpm-cache
    shell: bash
    run: |
      echo "STORE_PATH=$(pnpm store path)" >> $GITHUB_OUTPUT

- uses: actions/cache@v3
  name: Setup pnpm cache
  with:
    path: ${{ steps.pnpm-cache.outputs.STORE_PATH }}
    key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
    restore-keys: |
      ${{ runner.os }}-pnpm-store-

from action-setup.

riderx avatar riderx commented on May 26, 2024

what nodejs version ?
i'm speaking about 16.
i sis try both way but now i'm sticking to this one:
https://github.com/actions/setup-node

from action-setup.

melMass avatar melMass commented on May 26, 2024

@riderx Using 16 too, you can check my full sample that just worked here:

https://github.com/mtb-tools/vscode-mono-workspace/actions/runs/3272609632/workflow

from action-setup.

mcmxcdev avatar mcmxcdev commented on May 26, 2024

I was wondering the same thing, we have a setup like:

- uses: actions/setup-node@v3
  with:
    node-version-file: "package.json"
    cache: "pnpm"

And I am unsure if caching the installation works properly or not between runs.

from action-setup.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.