Skip to content

Allow --glob option to be provided multiple times (#136) #316

Allow --glob option to be provided multiple times (#136)

Allow --glob option to be provided multiple times (#136) #316

Workflow file for this run

name: CI
on:
push:
branches:
- main
- next
pull_request:
jobs:
build:
name: 'Validate with Node v${{ matrix.node_version }}'
runs-on: ubuntu-latest
strategy:
matrix:
node_version: ['16.17.0', '18.16.0']
steps:
- name: Checkout branch
uses: actions/checkout@v2
- name: Setup Node with v${{ matrix.node_version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node_version }}
cache: npm
- name: Install dependencies
run: npm ci
# Test hypothesis
# https://github.com/vercel/turborepo/issues/451#issuecomment-1190876871
- name: Restore cache
uses: actions/cache@v2
with:
path: |
**/.eslintcache
**/.turbo
node_modules/.cache/turbo
key:
${{ runner.os }}-node${{ matrix.node_version }}-test-v1-${{
github.sha }}
restore-keys: |
${{ runner.os }}-node${{ matrix.node_version }}-test-v1-
- name: Build packages
run: npm run build
- name: Lint
run: npm run lint
- name: Type check
run: npm run type-check
- name: Test
run: npm run test