Merge pull request #537 from ONLYOFFICE/feature/use-github-actions
Add github actions instead of Travis CI
This commit is contained in:
commit
e0c8d00602
15
.github/workflows/check.yml
vendored
Normal file
15
.github/workflows/check.yml
vendored
Normal file
|
@ -0,0 +1,15 @@
|
||||||
|
name: check
|
||||||
|
on: [push]
|
||||||
|
jobs:
|
||||||
|
project-build:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
- name: Use Node.js 12
|
||||||
|
uses: actions/setup-node@v1
|
||||||
|
with:
|
||||||
|
node-version: 12
|
||||||
|
- name: Build using grunt
|
||||||
|
run: |
|
||||||
|
npm install --prefix build
|
||||||
|
grunt --level=ADVANCED --base build --gruntfile build/Gruntfile.js
|
|
@ -1,9 +0,0 @@
|
||||||
language: node_js
|
|
||||||
node_js:
|
|
||||||
- '12'
|
|
||||||
before_install: npm install -g grunt-cli
|
|
||||||
before_script:
|
|
||||||
- cd build
|
|
||||||
script:
|
|
||||||
- npm install
|
|
||||||
- grunt --level=ADVANCED
|
|
Loading…
Reference in a new issue