From 7d5e2a3241f050f2b2ce2a99ce32d35ddf7ae69a Mon Sep 17 00:00:00 2001 From: Benny Samir Hierl Date: Sat, 29 Jan 2022 11:59:25 +0100 Subject: [PATCH] update github actions Signed-off-by: Benny Samir Hierl --- .github/workflows/{ci.yml => validation.yml} | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) rename .github/workflows/{ci.yml => validation.yml} (73%) diff --git a/.github/workflows/ci.yml b/.github/workflows/validation.yml similarity index 73% rename from .github/workflows/ci.yml rename to .github/workflows/validation.yml index 026891a..59aa7fe 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/validation.yml @@ -1,6 +1,9 @@ -name: ci +name: validation -on: [push] + pull_request: + push: + branches: + - main jobs: lint: @@ -9,6 +12,8 @@ jobs: - uses: actions/checkout@v2 - name: Set up NodeJs uses: actions/setup-node@v2 + with: + node-version: 16 - name: Install dependencies run: npm ci - name: Linter