0.134.1 #605
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: 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: | |
version: 8 | |
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 |