Create ci.yml
This commit is contained in:
Родитель
db5db3373f
Коммит
a484fc1f1a
|
@ -0,0 +1,26 @@
|
|||
name: CI
|
||||
on: [push, pull_request]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
matrix:
|
||||
node-version: [12.x, 14.x]
|
||||
|
||||
steps:
|
||||
|
||||
- uses: actions/checkout@v2
|
||||
|
||||
- name: Use Node ${{ matrix.node-version }}
|
||||
uses: actions/setup-node@v1
|
||||
with:
|
||||
node-version: ${{ matrix.node-version }}
|
||||
|
||||
- run: yarn install
|
||||
name: Install Dependencies
|
||||
|
||||
- run: yarn ci
|
||||
name: Execute Tests
|
||||
env:
|
||||
CI: true
|
Загрузка…
Ссылка в новой задаче