Skip to content

Commit

Permalink
Update build.yml to run audit, outdated, linter
Browse files Browse the repository at this point in the history
  • Loading branch information
adiletelf committed Jan 11, 2024
1 parent 5d710e7 commit 4c8b5cc
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -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:
Expand All @@ -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

0 comments on commit 4c8b5cc

Please sign in to comment.