fix: add missing space before headerClass (#138) #563
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: Build, Test, and Deploy | |
on: [pull_request] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Set Node Version | |
uses: actions/setup-node@v4 | |
with: | |
node-version: lts/iron | |
# We cannot use built-in LFS functionality due to the missing support of custom LFS endpoints. | |
# See: https://github.com/actions/checkout/issues/365 | |
- name: Pull Repository with LFS | |
run: git lfs pull | |
- name: Install | |
run: npm ci | |
- name: Build and package library | |
run: npm run package | |
- name: Format | |
run: npm run format:check | |
- name: Build | |
run: npm run build | |
- name: Archive build | |
uses: actions/upload-artifact@v4 | |
with: | |
name: build | |
path: dist/ngx-datatable | |
- name: Test | |
run: npm run ci | |
- name: Build Docs | |
run: npm run build-docs | |
- name: Deploy Docs | |
uses: JamesIves/github-pages-deploy-action@4.1.5 | |
with: | |
branch: gh-pages | |
folder: dist/ngx-datatable | |
if: ${{ github.ref == 'refs/heads/master' }} | |
e2e: | |
runs-on: ubuntu-latest | |
needs: build | |
container: mcr.microsoft.com/playwright:v1.46.0-jammy | |
steps: | |
# The LFS situation is even worse here. As we are in another container, we need to install LFS manually. | |
- name: Install LFS | |
run: | | |
git config --global --add safe.directory "$GITHUB_WORKSPACE" | |
curl -s https://packagecloud.io/install/repositories/github/git-lfs/script.deb.sh | bash | |
apt install git-lfs | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Pull Repository with LFS | |
run: git lfs pull | |
- name: Download build | |
uses: actions/download-artifact@v4 | |
with: | |
name: build | |
path: dist/ngx-datatable | |
- name: Install | |
run: npm ci | |
- name: E2E | |
run: npm run e2e | |
- name: Upload E2E Results | |
uses: actions/upload-artifact@v4 | |
with: | |
name: e2e-results | |
path: playwright/results |