From c84c4423ceea419004d841f7ecb415e0312faa98 Mon Sep 17 00:00:00 2001 From: Micha Vie Date: Wed, 29 Nov 2023 16:37:00 +0100 Subject: [PATCH] fix gh workflow --- .github/workflows/build-and-lint.yml | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/.github/workflows/build-and-lint.yml b/.github/workflows/build-and-lint.yml index cd762ee..a830a9b 100644 --- a/.github/workflows/build-and-lint.yml +++ b/.github/workflows/build-and-lint.yml @@ -1,11 +1,6 @@ name: Build and Lint -on: - push: - branches: - - main - pull_request: - branches: - - main + +on: ['push', 'pull_request'] jobs: build-and-lint: @@ -18,7 +13,7 @@ jobs: - name: Setup Node.js uses: actions/setup-node@v2 with: - node-version: '14.x' + node-version: '18.x' - name: Install dependencies run: npm ci --include=dev