Skip to content

Merge pull request #63 from Bzaid94/feature/terraform-path #83

Merge pull request #63 from Bzaid94/feature/terraform-path

Merge pull request #63 from Bzaid94/feature/terraform-path #83

Workflow file for this run

name: CLI
on:
push:
branches: [main]
paths:
- "packages/autoskills/**"
pull_request:
branches: [main]
permissions:
contents: read
jobs:
lint:
name: Lint & Format
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
- uses: actions/setup-node@v4
with:
node-version: 22
cache: "pnpm"
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Check linting
run: pnpm run lint
- name: Check formatting
run: pnpm run fmt:check
test:
name: Tests
needs: lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
- uses: actions/setup-node@v4
with:
node-version: 22
cache: "pnpm"
- name: Install dependencies
run: pnpm install --frozen-lockfile
working-directory: packages/autoskills
- name: Run tests
run: pnpm test
working-directory: packages/autoskills