Skip to content

test build

test build #178

Workflow file for this run

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 --from=ee1c697fcf871114c53e9847c43e221d3056f19d --to=b20002d9760e9e212bc623c8f3f42931ddc01bda
env:
GITHUB_AUTH: ${{ secrets.GITHUB_TOKEN }}