Skip to content

Commit

Permalink
Merge pull request #101 from avdev4j/add_github-action_workflow
Browse files Browse the repository at this point in the history
Add GitHub action workflow
  • Loading branch information
avdev4j committed Oct 26, 2020
2 parents d31144a + 365f290 commit 903019a
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 1 deletion.
25 changes: 25 additions & 0 deletions .github/workflows/generator.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Generator
on:
push:
branches-ignore:
- 'dependabot/**'
pull_request:
branches:
- '*'
jobs:
generator-jhipster-entando:
name: npm-test
runs-on: ubuntu-20.04
timeout-minutes: 10
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2.1.1
with:
node-version: '12'
- run: npm ci
- run: npm run pretest
- run: npm run test
if: >-
!contains(github.event.head_commit.message, '[skip ci]') &&
!contains(github.event.pull_request.title, '[skip ci]') &&
github.event.pull_request.draft == false
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[![NPM version][npm-image]][npm-url] [![Build Status][travis-image]][travis-url] [![Dependency Status][daviddm-image]][daviddm-url]
[![NPM version][npm-image]][npm-url] [![Build Status][github-actions-generator-image]][github-actions-url] [![Build Status][travis-image]][travis-url] [![Dependency Status][daviddm-image]][daviddm-url]
> JHipster blueprint,
# entando-blueprint
Expand Down Expand Up @@ -105,3 +105,5 @@ When you try to authenticate in the Swagger UI you should keep prefilled data (`
[travis-url]: https://travis-ci.org/kerruba/generator-jhipster-entando
[daviddm-image]: https://david-dm.org/kerruba/generator-jhipster-entando.svg?theme=shields.io
[daviddm-url]: https://david-dm.org/kerruba/generator-jhipster-entando
[github-actions-generator-image]: https://github.com/entando/entando-blueprint/workflows/Generator/badge.svg
[github-actions-url]: https://github.com/entando/entando-blueprint/actions

0 comments on commit 903019a

Please sign in to comment.