From 4c8b5cc3b4edc1bc72e2400befb5ce9827ef3640 Mon Sep 17 00:00:00 2001 From: Adilet Soronov <74559101+adiletelf@users.noreply.github.com> Date: Thu, 11 Jan 2024 13:57:08 +0600 Subject: [PATCH] Update build.yml to run audit, outdated, linter --- .github/workflows/build.yml | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index b19eee2..d4268c8 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -1,13 +1,13 @@ -# This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node +# This workflow will do a clean installation of node dependencies, build the source code and run tests across different versions of node # For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions name: build on: push: - branches: [ master ] + branches: [ main, dev, certification ] pull_request: - branches: [ master ] + branches: [ main, dev, certification ] jobs: build: @@ -24,8 +24,14 @@ jobs: uses: actions/setup-node@v1 with: node-version: ${{ matrix.node-version }} + - run: npm audit + continue-on-error: true - run: npm ci - - run: npm run lint + - run: npm outdated + continue-on-error: true + - run: npm run eslint --if-present + - run: npm run lint --if-present + - run: npm run package - run: npm test env: CI: true