diff --git a/.github/workflows/dev-pulse-ci.yml b/.github/workflows/dev-pulse-ci.yml new file mode 100644 index 000000000..3464fec3a --- /dev/null +++ b/.github/workflows/dev-pulse-ci.yml @@ -0,0 +1,28 @@ +name: Devpulse CI + +on: + push: + branches: [ develop ] + pull_request: + branches: [ develop ] + +jobs: + test-and-build: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v3 + + - name: Use Node.js + uses: actions/setup-node@v3 + with: + node-version: '18' + + - name: Install dependencies + run: npm install --legacy-peer-deps + + - name: Run tests + run: npm test + + - name: Build + run: npm run build \ No newline at end of file diff --git a/package.json b/package.json index 1ab642bb8..9a5bcdbd5 100755 --- a/package.json +++ b/package.json @@ -36,6 +36,7 @@ "@types/react-dom": "^18.0.6", "@types/react-table": "^7.7.12", "@types/redux-state-sync": "^3.1.5", + "@types/uglify-js": "^3.17.5", "@typescript-eslint/eslint-plugin": "^5.47.0", "autoprefixer": "^10.4.7", "babel-loader": "^8.2.5", diff --git a/src/components/roles&permissions/ListAllUsers.tsx b/src/components/roles&permissions/ListAllUsers.tsx index 491cf69e8..09903f69b 100644 --- a/src/components/roles&permissions/ListAllUsers.tsx +++ b/src/components/roles&permissions/ListAllUsers.tsx @@ -319,6 +319,7 @@ const ListAllUsers: FunctionComponent = (props) => {