mirror of
https://github.com/actions/setup-node.git
synced 2025-07-25 16:08:25 +02:00
Merge branch 'master' of https://github.com/actions/setup-node into features/problem-matchers
This commit is contained in:
commit
a93f613f3a
7 changed files with 295 additions and 28 deletions
22
.github/main.workflow.yml
vendored
Normal file
22
.github/main.workflow.yml
vendored
Normal file
|
@ -0,0 +1,22 @@
|
|||
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
|
Loading…
Add table
Add a link
Reference in a new issue