Skip to content
Discussion options

You must be logged in to vote

Sorry, currently there is no option to specify custom node and npm version, because this action runs in docker container, where node and npm is set up. But, you can fork this repository, change Dockerfile and then use action from your repository.

Your dockerfile in forked jest-coverage-report-action repo should look like this:

# Specify required node version
#
FROM node:14

# Set up custom npm version, if you need
#
# npm i -g [email protected]

COPY dist/index.js /index.js

ENTRYPOINT ["node", "/index.js"]

Using action from forked repo:

name: 'coverage'
on:
    pull_request:
        branches:
            - master
jobs:
    coverage:
        runs-on: ubuntu-latest
        

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by ArtiomTr
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
question Further information is requested
2 participants
Converted from issue

This discussion was converted from issue #31 on June 13, 2021 10:21.