Replace @swimlane/ngx-datatable
by @siemens/ngx-datatable
(#1798)
#132
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Continues Integration | |
on: | |
push: | |
branches: | |
- 'master' | |
pull_request: | |
branches: | |
- 'master' | |
env: | |
NODE_VERSION: 16 | |
NODE_OPTIONS: --max_old_space_size=4096 | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Set up Node.js ${{ env.NODE_VERSION }} | |
uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ env.NODE_VERSION }} | |
cache: npm | |
cache-dependency-path: deb/openmediavault/workbench/package-lock.json | |
- name: Install dependencies | |
working-directory: deb/openmediavault/workbench/ | |
run: npm ci | |
- name: Run lint | |
working-directory: deb/openmediavault/workbench/ | |
run: npm run lint | |
test-ui: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Set up Node.js ${{ env.NODE_VERSION }} | |
uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ env.NODE_VERSION }} | |
cache: npm | |
cache-dependency-path: deb/openmediavault/workbench/package-lock.json | |
- name: Install dependencies | |
working-directory: deb/openmediavault/workbench/ | |
run: npm ci | |
- name: Run unit tests | |
working-directory: deb/openmediavault/workbench/ | |
run: npm run test:ci | |
test-shell: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Install dependencies | |
working-directory: deb/openmediavault/usr/share/openmediavault/unittests/shell | |
run: make install | |
- name: Run unit tests | |
working-directory: deb/openmediavault/usr/share/openmediavault/unittests/shell | |
run: make test |