Skip to content

Add tests for brackets in file names #2224

Add tests for brackets in file names

Add tests for brackets in file names #2224

Workflow file for this run

name: CI
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node: ["18", "20", "22.4.1", "23"]
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: |
if node -e "process.exit(Number(+process.versions.node.slice(0, 2) < 23))"; then
export NODE_OPTIONS="--no-experimental-strip-types"
fi
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@10
- 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