Merge remote-tracking branch 'upstream/master'
This commit is contained in:
21
.github/workflows/workflow.yml
vendored
21
.github/workflows/workflow.yml
vendored
@@ -1,5 +1,13 @@
|
|||||||
name: Main workflow
|
name: build-test
|
||||||
on: [push]
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- master
|
||||||
|
paths-ignore:
|
||||||
|
- '**.md'
|
||||||
|
pull_request:
|
||||||
|
paths-ignore:
|
||||||
|
- '**.md'
|
||||||
jobs:
|
jobs:
|
||||||
test:
|
test:
|
||||||
name: Unit Tests - ${{ matrix.os }}
|
name: Unit Tests - ${{ matrix.os }}
|
||||||
@@ -9,10 +17,13 @@ jobs:
|
|||||||
matrix:
|
matrix:
|
||||||
os: [ubuntu-latest, macOS-latest, windows-latest]
|
os: [ubuntu-latest, macOS-latest, windows-latest]
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- name: Checkout
|
||||||
- uses: actions/setup-node@v1
|
uses: actions/checkout@v2
|
||||||
|
|
||||||
|
- name: Set Node.js 12
|
||||||
|
uses: actions/setup-node@v1
|
||||||
with:
|
with:
|
||||||
node-version: 12.x
|
node-version: 12
|
||||||
# http://www.tiernok.com/posts/2019/faster-npm-installs-during-ci/
|
# http://www.tiernok.com/posts/2019/faster-npm-installs-during-ci/
|
||||||
- run: npm ci --prefer-offline --no-audit --progress=false
|
- run: npm ci --prefer-offline --no-audit --progress=false
|
||||||
- run: npm run pre-push
|
- run: npm run pre-push
|
||||||
|
|||||||
Reference in New Issue
Block a user