Skip to content

chore(deps-dev): bump the dev group across 1 directory with 17 updates #325

chore(deps-dev): bump the dev group across 1 directory with 17 updates

chore(deps-dev): bump the dev group across 1 directory with 17 updates #325

Workflow file for this run

name: CI
on:
pull_request:
branches: [main]
merge_group:
branches: [main]
concurrency:
group: '${{ github.workflow }}-${{ github.event_name }}-${{ github.ref }}'
cancel-in-progress: true
permissions:
contents: read
packages: read
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4.0.3
with:
node-version-file: '.nvmrc'
- run: corepack enable pnpm
- run: pnpm install --frozen-lockfile
- run: pnpm turbo run build
test_plan:
name: Test [plan]
runs-on: ubuntu-latest
outputs:
packages: ${{ steps.plan.outputs.packages }}
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- uses: fuxingloh/turbo-plan@4bd6ef3cdb543fbf5fca55b6b5b74892acecdfa5 # v2
id: plan
with:
task: test
test_run:
name: Test [run]
needs: test_plan
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
package: ${{ fromJSON(needs.test_plan.outputs.packages) }}
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4.0.3
with:
node-version-file: '.nvmrc'
- run: corepack enable pnpm
- run: pnpm install --frozen-lockfile
# Install kubernetes-in-docker (kind) for @chainfile/cdk8s
- run: go install sigs.k8s.io/kind@latest
if: ${{ matrix.package == '@chainfile/cdk8s' }}
- run: pnpm turbo run test --filter=${{ matrix.package }}
test_completed:
name: Test [completed]
runs-on: ubuntu-latest
if: always()
needs:
- test_run
steps:
- run: |
if ${{ contains(needs.*.result, 'failure') || contains(needs.*.result, 'skipped') || contains(needs.*.result, 'cancelled') }} ; then
exit 1
fi
lint_prettier:
name: Lint [prettier]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4.0.3
with:
node-version-file: '.nvmrc'
- run: corepack enable pnpm
- run: pnpm install --frozen-lockfile
- run: pnpm prettier --check .
lint_eslint:
name: Lint [eslint]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4.0.3
with:
node-version-file: '.nvmrc'
- run: corepack enable pnpm
- run: pnpm install --frozen-lockfile
- run: pnpm turbo run lint