Skip to content

Version Packages (#149) #419

Version Packages (#149)

Version Packages (#149) #419

Workflow file for this run

name: Continuous Integration
on:
push:
branches: ['main']
pull_request:
types: [opened, synchronize]
env:
TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }}
TURBO_TEAM: ${{ secrets.TURBO_TEAM }}
jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout respository
uses: actions/checkout@v4
- name: Setup
uses: ./.github/actions/setup
- name: Lint
run: pnpm run lint
type-check:
runs-on: ubuntu-latest
steps:
- name: Checkout respository
uses: actions/checkout@v4
- name: Setup
uses: ./.github/actions/setup
- name: Type check
run: pnpm run type-check
test:
timeout-minutes: 15
runs-on: ubuntu-latest
env:
NODE_ENV: 'test'
steps:
- name: Checkout respository
uses: actions/checkout@v4
- name: Setup
uses: ./.github/actions/setup
- name: Build
run: pnpm run build
- name: Test
run: pnpm run test
integration-test:
timeout-minutes: 15
strategy:
matrix:
node-version: [16.x, 17.x, 18.x]
os:
- runner: ubuntu-latest
- runner: macos-latest
- runner: windows-latest
runs-on: ubuntu-latest
steps:
- name: Checkout respository
uses: actions/checkout@v4
- name: Setup
uses: ./.github/actions/setup
- name: Build
run: pnpm run build
- name: Prune devDependencies
run: pnpm prune --prod
- name: Integration Test
run: pnpm -F commonality run test:integration