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