Skip to content

Commit

Permalink
Add Github Actions support (#1394)
Browse files Browse the repository at this point in the history
* Add Github Actions support

* Update Action

* Add Matrix builds

* Remove other OS

* Set Version back
  • Loading branch information
gmhabchi authored and sobolevn committed Oct 28, 2019
1 parent d609db3 commit 8012e69
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Build

on: [push]

jobs:
build:
name: Test on node ${{ matrix.node_version }} and ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
node_version: [ 10.16 ]
os: [ubuntu-latest]

steps:
- uses: actions/checkout@v1
- name: install prerequisites ${{ matrix.node_version }}
run: |
sudo apt-get update && sudo apt-get install expect
sudo pip install -U docker-compose
docker --version && docker-compose --version
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}

- name: npm install, build, and test
run: |
npm ci
npm run lint
npm run test
env:
PROJECT_NAME: wemake_vue_demo

0 comments on commit 8012e69

Please sign in to comment.