From 165924db8b7c414bea60a5acb7d072cedd4b4fec Mon Sep 17 00:00:00 2001 From: Pavel Lobashov Date: Tue, 27 Oct 2020 11:28:14 +0300 Subject: [PATCH 1/3] Add github actions instead of Travis CI --- .github/workflows/check.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 .github/workflows/check.yml diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml new file mode 100644 index 000000000..ff6cc4c5a --- /dev/null +++ b/.github/workflows/check.yml @@ -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 + grunt --level=ADVANCED From fc84fdcbca0a2f79e7a95dc5efd80ff329e8a27c Mon Sep 17 00:00:00 2001 From: Pavel Lobashov Date: Tue, 27 Oct 2020 11:29:48 +0300 Subject: [PATCH 2/3] Fix locations --- .github/workflows/check.yml | 1 + .travis.yml | 9 --------- 2 files changed, 1 insertion(+), 9 deletions(-) delete mode 100644 .travis.yml diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml index ff6cc4c5a..6351bf7ff 100644 --- a/.github/workflows/check.yml +++ b/.github/workflows/check.yml @@ -11,5 +11,6 @@ jobs: node-version: 12 - name: Build using grunt run: | + cd build npm install grunt --level=ADVANCED diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 7f31560ab..000000000 --- a/.travis.yml +++ /dev/null @@ -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 From b7ddb1b776d6de70618485356e91b31324754d80 Mon Sep 17 00:00:00 2001 From: Pavel Lobashov Date: Tue, 27 Oct 2020 11:32:55 +0300 Subject: [PATCH 3/3] Remove cd to dir --- .github/workflows/check.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml index 6351bf7ff..be84732cb 100644 --- a/.github/workflows/check.yml +++ b/.github/workflows/check.yml @@ -11,6 +11,5 @@ jobs: node-version: 12 - name: Build using grunt run: | - cd build - npm install - grunt --level=ADVANCED + npm install --prefix build + grunt --level=ADVANCED --base build --gruntfile build/Gruntfile.js