This action sets by node environment for use in actions by:
See action.yml
Basic:
actions: - uses: actions/setup-node@latest with: version: 10.x - run: npm install - run: npm test
Matrix Testing:
workflow: build: strategy: matrix: node: [ 10, 8 ] name: Node ${{ matrix.node }} sample actions: - name: Setup node uses: actions/setup-node@latest with: version: ${{ matrix.node }} - run: npm install - run: npm test
The scripts and documentation in this project are released under the MIT License