test build #175
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: | |
branches: | |
- master | |
- main | |
tags: | |
- "v*" | |
pull_request: | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: pnpm/action-setup@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 18 | |
cache: pnpm | |
- run: pnpm install | |
- run: pnpm lint | |
- run: pnpm lint:types | |
tests: | |
name: "Tests on Node.js ${{ matrix.node-version }} - ${{ matrix.os }}" | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
node-version: ["18", "20", "22"] | |
os: | |
- 'ubuntu-latest' | |
- 'windows-latest' | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: pnpm/action-setup@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ matrix.node-version }} | |
cache: pnpm | |
- run: pnpm install | |
- run: pnpm build | |
- run: pnpm test | |
env: | |
GITHUB_API_URL: "" | |
- run: git fetch --all && git fetch --unshallow | |
- run: node ./bin/cli.js --next-version Release | |
env: | |
GITHUB_AUTH: ${{ secrets.GITHUB_TOKEN }} |