Skip to content

update webpack to fix security issue #147

update webpack to fix security issue

update webpack to fix security issue #147

Workflow file for this run

name: Admin Portal - Build and Test
on:
push:
branches:
- main
paths:
- ansible_wisdom_console_react/**
pull_request:
branches:
- main
paths:
- ansible_wisdom_console_react/**
jobs:
lint:
runs-on: ubuntu-latest
env:
WORKING_DIRECTORY: ./ansible_wisdom_console_react
steps:
- name: Checkout commit
uses: actions/checkout@v3
- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: '20.x'
cache: 'npm'
cache-dependency-path: ${{env.WORKING_DIRECTORY}}/package-lock.json
- name: Install Dependencies
run: npm ci
working-directory: ${{env.WORKING_DIRECTORY}}
- name: Compile
run: npm run build
working-directory: ${{env.WORKING_DIRECTORY}}
- name: Run linter
run: npm run lint
working-directory: ${{env.WORKING_DIRECTORY}}