Skip to content

Github action node js version #42166

Answered by aduh95
daniavander asked this question in General
Discussion options

You must be logged in to vote

Replace

  - uses: actions/setup-node@v1

with

      - name: Install Node.js
        uses: actions/setup-node@v3
        with:
          node-version: lts/*

That would tell the runner to install the latest available Node.js LTS version, which is almost certainly what you need here.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by avivkeller
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants