Add preserveLinkText option #1544
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, pull_request] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node: ["16", "18", "20"] | |
name: Node ${{ matrix.node }} | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
- name: Set up Node | |
uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node }} | |
- name: Upgrade npm | |
run: npm i -g npm@latest | |
- name: Install | |
run: npm ci | |
- name: Build | |
run: npm run build | |
- name: Test | |
run: npm run test:full | |
env: | |
# For pull requests, this gets handled by the visual-regression workflow. | |
# For other test runs, skip so we don't have to go build the regression screenshots. | |
SKIP_VISUAL_TEST: true | |
- name: Lint | |
run: npm run lint -- --max-warnings 0 | |
- name: Circular dependency check | |
uses: gerrit0/circular-dependency-check@v2 | |
with: | |
entry: dist/index.js | |
build-windows: | |
runs-on: windows-latest | |
name: Node 18 Windows | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
- name: Set up Node | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 18 | |
- name: Upgrade npm | |
run: npm i -g npm@latest | |
- name: Install | |
run: npm ci | |
- name: Build | |
run: npm run build | |
- name: Test | |
run: npm run test:full | |
env: | |
SKIP_VISUAL_TEST: true | |
- name: Lint | |
run: npm run lint -- --max-warnings 0 |