Closes #2790 allow png favicon #2162
Workflow file for this run
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: ["18", "20", "22.4.1"] | |
name: Node ${{ matrix.node }} | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Set up Node | |
uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ matrix.node }} | |
- name: Install | |
run: npm ci | |
- name: Build | |
run: npm run build | |
- name: Test | |
run: npm run test:full | |
- name: Lint | |
run: npm run lint | |
- name: Circular dependency check | |
uses: gerrit0/[email protected] | |
with: | |
entry: dist/index.js | |
build-release: | |
runs-on: ubuntu-latest | |
name: Node 22 Release | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Set up Node | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 22.4.1 | |
- name: Install | |
run: npm ci | |
- name: Build | |
run: | | |
node scripts/set_strict.js false | |
npm run build | |
- name: Test | |
run: npm run test:full | |
- name: Lint | |
run: npm run lint -- --max-warnings 0 | |
build-windows: | |
runs-on: windows-latest | |
name: Node 18 Windows | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Set up Node | |
uses: actions/setup-node@v4 | |
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 | |
- name: Lint | |
run: npm run lint -- --max-warnings 0 |