Skip to content

Commit

Permalink
Merge pull request #157 from nextcloud/no_more_drone
Browse files Browse the repository at this point in the history
No more drone. Do it all on github actions
  • Loading branch information
skjnldsv authored Jan 27, 2020
2 parents 1fc637a + 4ddd17f commit 85ea3ae
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 19 deletions.
19 changes: 0 additions & 19 deletions .drone.yml

This file was deleted.

32 changes: 32 additions & 0 deletions .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Node CI

on:
pull_request:
branches:
- master
- stable*

jobs:
build:

runs-on: ubuntu-latest

strategy:
matrix:
node-version: [12.x]

steps:
- uses: actions/checkout@v1
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: npm install, build
run: |
npm ci
npm run build --if-present
- name: check webpack build
run: |
bash -c "[[ ! \"`git status --porcelain `\" ]] || ( echo 'Uncommited changes in webpack build' && git status && exit 1 )"
env:
CI: true

0 comments on commit 85ea3ae

Please sign in to comment.