workflow update

This commit is contained in:
Eugene Pankov
2021-07-04 15:09:34 +02:00
parent f4eacc1d66
commit b2f4b44123
2 changed files with 32 additions and 31 deletions

View File

@@ -1,8 +1,38 @@
name: Package-Build name: Package-Build
on: [push, pull_request] on: [push, pull_request]
jobs: jobs:
Lint:
runs-on: macos-11.0
steps:
- name: Checkout
uses: actions/checkout@v2.3.4
with:
fetch-depth: 0
- name: Installing Node
uses: actions/setup-node@v2.1.5
with:
node-version: 14
- name: Install deps
run: |
npm i -g yarn@1.19.1
cd app
yarn
cd ..
rm app/node_modules/.yarn-integrity
yarn
- name: Build typings
run: yarn run build:typings
- name: Lint
run: yarn run lint
macOS-Build: macOS-Build:
runs-on: macos-11.0 runs-on: macos-11.0
needs: Lint
strategy: strategy:
matrix: matrix:
include: include:
@@ -100,6 +130,7 @@ jobs:
Linux-Build: Linux-Build:
runs-on: ubuntu-18.04 runs-on: ubuntu-18.04
needs: Lint
steps: steps:
- name: Checkout - name: Checkout
@@ -205,6 +236,7 @@ jobs:
Windows-Build: Windows-Build:
runs-on: windows-2016 runs-on: windows-2016
needs: Lint
steps: steps:
- name: Checkout - name: Checkout

View File

@@ -1,31 +0,0 @@
name: Lint
on: [push, pull_request]
jobs:
Lint:
runs-on: macos-11.0
steps:
- name: Checkout
uses: actions/checkout@v2.3.4
with:
fetch-depth: 0
- name: Installing Node
uses: actions/setup-node@v2.1.5
with:
node-version: 14
- name: Install deps
run: |
npm i -g yarn@1.19.1
cd app
yarn
cd ..
rm app/node_modules/.yarn-integrity
yarn
- name: Build typings
run: yarn run build:typings
- name: Lint
run: yarn run lint