mirror of
https://github.com/actions/setup-node
synced 2025-04-19 22:53:12 +00:00
* Add actions ci * Add format-check * Test doesnt depend on build * Fix linux tests * Fix other linux test * Use azp for cross-platform support for now * Dogfood ci * Update main.workflow.yml * Update main.workflow.yml * Update main.workflow.yml * Update main.workflow.yml * Update main.workflow.yml * Update main.workflow.yml * back to runs-on * Try lowercase * Back to upper * Pool under runs-on * Switch from install to ci * Make sure we have right version of node * Indenting issues * Install instead of ci to avoid reinstalling tarballs * Update main.workflow.yml * Update main.workflow.yml * Try ci again * Update main.workflow.yml * Update main.workflow.yml * Update main.workflow.yml * Remove logging step * Try pruning first so that devDeps definitely aren't installed * Clean tests * Spacing * Randomize folder for concurrent builds * Dont fail on not being able to unlink * Dont fail on not being able to unlink
23 lines
447 B
YAML
23 lines
447 B
YAML
on: push
|
|
jobs:
|
|
build:
|
|
runs-on:
|
|
pool: ${{ matrix.operating-system }}
|
|
strategy:
|
|
matrix:
|
|
operating-system: [Linux, macOS, Windows]
|
|
actions:
|
|
- name: Set Node.js 10.x
|
|
uses: bryanmacfarlane/node-config@master
|
|
with:
|
|
version: 10.x
|
|
|
|
- name: npm install
|
|
run: npm prune --production && npm install
|
|
|
|
- name: Lint
|
|
run: npm run format-check
|
|
|
|
- name: npm test
|
|
run: npm test
|