name: CI on: push: branches: - 5.x - 'changeset-release/5.x' pull_request: paths: - .github/workflows/ci.yml - 'packages/**' - 'jest/**' - 'package.json' - 'pnpm-workspace.yaml' jobs: ci: strategy: fail-fast: false matrix: os: [ubuntu-latest, windows-latest] node_version: [10, 12, 14] name: ${{ matrix.os }} / Node ${{ matrix.node_version }} runs-on: ${{ matrix.os }} steps: - uses: actions/checkout@v2.3.1 - name: Use Node ${{ matrix.node_version }} uses: actions/setup-node@v1 with: node_version: ${{ matrix.node_version }} - name: Install pnpm run: npm i -g pnpm - name: Install run: pnpm recursive install - name: Lint run: pnpm lint - name: Clean run: pnpm clean - name: Build run: pnpm build - name: Test run: pnpm test