2019-07-09 12:41:09 -04:00
2019-06-17 09:32:51 -04:00
2019-06-18 14:52:43 -04:00
2019-06-17 09:32:08 -04:00
2019-06-05 15:17:00 -04:00
2019-06-18 10:50:43 -04:00
2019-06-26 16:32:26 -06:00
2019-06-18 10:50:43 -04:00
2019-06-26 16:52:05 -04:00
2019-06-17 09:32:08 -04:00
2019-06-05 15:17:00 -04:00
2019-07-09 12:41:09 -04:00
2019-06-05 15:17:00 -04:00
2019-05-30 23:10:12 -04:00
2019-06-26 16:52:05 -04:00
2019-06-24 15:09:39 -04:00
2019-06-17 16:21:20 -04:00
2019-06-05 15:17:00 -04:00

@actions/setup-node

This action sets by node environment for use in actions by:

  • optionally downloading and caching a version of node - npm by version spec and add to PATH
  • registering problem matchers for error output
  • TODO: configuring authentication for npm packages
  • TODO: configuring proxy if the runner is configured to use a proxy (coming with private runners)

Usage

See action.yml

Basic:

actions:
- uses: actions/setup-node@latest
  with:
    version: 10.x 
- run: npm install
- run: npm test

Matrix Testing:

jobs:
  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

License

The scripts and documentation in this project are released under the MIT License

Contributions

Contributions are welcome! See Contributor's Guide

Description
Languages
TypeScript 95%
Shell 4.3%
JavaScript 0.7%