Update CNAME #6
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: CI | |
on: | |
push: | |
branches: | |
- "**" | |
- "!dependabot/**" | |
pull_request: | |
workflow_dispatch: | |
env: | |
FORCE_COLOR: 2 | |
NODE_LTS: 18 | |
permissions: | |
contents: read | |
jobs: | |
build: | |
name: Build on Node ${{ matrix.node }} | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
node: [14, 16, 18] | |
steps: | |
- name: Clone repository | |
uses: actions/checkout@v3 | |
with: | |
persist-credentials: false | |
- name: Set up Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node }} | |
cache: npm | |
- name: Install npm dependencies | |
run: npm ci | |
- name: Build themes | |
run: npm run build | |
- name: Build docs | |
run: npm run docs | |
test: | |
name: Test | |
runs-on: ubuntu-latest | |
steps: | |
- name: Clone repository | |
uses: actions/checkout@v3 | |
with: | |
persist-credentials: false | |
- name: Set up Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ env.NODE_LTS }} | |
cache: npm | |
- run: java -version | |
- name: Install npm dependencies | |
run: npm ci | |
- name: Run tests | |
run: npm test | |
- name: Run vnu-jar | |
run: npm run htmllint |