From 345a384f7b691e8491fef68108b74855cc566fa1 Mon Sep 17 00:00:00 2001 From: Ethanell Date: Tue, 18 Aug 2020 13:19:05 +0200 Subject: [PATCH] Setup GitHub actions workflow --- .github/workflows/main.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .github/workflows/main.yml diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 0000000..812e233 --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,25 @@ +name: CI + +on: + push: + branches: [ master ] + pull_request: + branches: [ master ] + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v2 + + - name: Setup nodejs & npm + uses: actions/setup-node@v1 + with: + node-version: "12" + + - name: Install projetc dependecies + run: npm install + + - name: Launch unitary test + run: npm test