setup-node/.github/main.workflow.yml
Danny McCormick b9fb64b093
Add ci and fix linux tests (#8)
* 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
2019-06-17 09:32:51 -04:00

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