name: Run tests on: push: branches: - main pull_request: jobs: test: if: "!contains(github.event.head_commit.message, '[skip ci]')" strategy: matrix: os: - ubuntu-latest - macos-latest - windows-latest node: - 20 - 18 - 16 fail-fast: false runs-on: ${{ matrix.os }} name: Node ${{ matrix.node }} on ${{ matrix.os }} steps: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 with: node-version: ${{ matrix.node }} - uses: pnpm/action-setup@v4 with: run_install: false - run: pnpm install --frozen-lockfile env: DEBUG: careful-downloader DEBUG_HIDE_DATE: 1 DEBUG_COLORS: 0 - run: pnpm audit --prod continue-on-error: true - run: pnpm run test - run: node lib/cli.js new site mysite - run: node lib/cli.js --source mysite/ --minify --enableGitInfo --logLevel info