Use NodeJs

    0

    10

    GitHub Actions

    This code tells Puppet to use the actions/setup-node action with the node-version setting of 16.x.

    Shortcut: step.install_node

    Filename pattern: .github/workflows/*.yml

    - name: Use Node.js ${{ matrix.node-version }}
      uses: actions/setup-node@v1
      with:
        node-version: 16.x
    Codiga Logo
    Codiga Hub
    • Rulesets
    • Playground
    • Snippets
    • Cookbooks
    soc-2 icon

    We are SOC-2 Compliance Certified

    G2 high performer medal

    Codiga – All rights reserved 2022.