Skip to content

build(deps): bump word-wrap from 1.2.3 to 1.2.4 #2271

build(deps): bump word-wrap from 1.2.3 to 1.2.4

build(deps): bump word-wrap from 1.2.3 to 1.2.4 #2271

name: Test and Build SPlayer
on: [push, pull_request]
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [macOS-latest, windows-latest]
node-version: [12.x]
steps:
- uses: actions/checkout@v1
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: Fix node-gyp for Windows
run: |
npm i -g [email protected]
npm prefix -g | % {npm config set node_gyp "$_\node_modules\node-gyp\bin\node-gyp.js"}
if: matrix.os == 'windows-latest'
- name: Install dependencies
run: |
yarn
node scripts/check-electron-version.js
- name: Test
run: |
yarn run lint
yarn test
if: matrix.os == 'macOS-latest'
- name: Build
run: yarn build