Skip to content

Commit

Permalink
added continuous testing through github action
Browse files Browse the repository at this point in the history
  • Loading branch information
Bullrich committed Dec 17, 2021
1 parent d79c1ac commit cbf6a87
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 1 deletion.
31 changes: 31 additions & 0 deletions .github/workflows/javascript-test.yml
@@ -0,0 +1,31 @@

name: Continuous testing

on:
pull_request:
types: [
'opened',
'synchronize'
]
push:
branches:
- master

jobs:
test-action:
name: Action test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Use node 12
uses: actions/setup-node@v1
with:
node-version: 12
- name: install
run: npm ci
- name: test-lint
run: npm run test:lint
- name: test-unit
run: npm run test:unit
- name: build
run: npm run build
3 changes: 2 additions & 1 deletion README.md
Expand Up @@ -10,7 +10,8 @@ Pull Request Automated Convention Enforcer
A GitHub action that checks if a PR complies with a given configuration

[![CodeFactor](https://www.codefactor.io/repository/github/innerspacetrainings/prace.js/badge?s=ae50225ee71c7357c4a6f7a48998b11f34683662)](https://www.codefactor.io/repository/github/innerspacetrainings/prace.js)
[![CircleCI](https://circleci.com/gh/innerspacetrainings/Prace.js.svg?style=svg&circle-token=b65ff8f34c4b5bfd19e6a3ab17b3ece352e25b73)](https://circleci.com/gh/innerspacetrainings/Prace.js)

![Continuous testing](https://github.com/innerspacetrainings/Prace.js/workflows/Continuous%20testing/badge.svg?event=push)

# Repository configuration

Expand Down

0 comments on commit cbf6a87

Please sign in to comment.