Skip to content

Add @actions/exec to dependencies #359

Add @actions/exec to dependencies

Add @actions/exec to dependencies #359

Workflow file for this run

name: Main workflow
on: [push]
jobs:
check:
name: Checks
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- name: Setup
uses: ./.github/actions/setup
- name: Lint
run: pnpm lint
- name: TypeCheck
run: pnpm typecheck
unit-test:
name: Unit Tests
runs-on: ubuntu-latest
needs: check
steps:
- name: Checkout
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- name: Setup
uses: ./.github/actions/setup
- name: Test
run: pnpm test
- name: Build
run: pnpm build
build:
name: Build
runs-on: ubuntu-latest
needs: check
steps:
- name: Checkout
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- name: Setup
uses: ./.github/actions/setup
- name: Build
run: pnpm build
- name: Upload Artifact
uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 # v4.3.3
with:
name: lib
path: lib
integration-test:
name: Integration Tests
runs-on: ${{ matrix.os }}
needs:
- build
- unit-test
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
steps:
- name: Checkout
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- name: Setup
uses: ./.github/actions/setup
- name: Download Artifact
uses: actions/download-artifact@9c19ed7fe5d278cd354c7dfd5d3b88589c7e2395 # v4.1.6
- name: Run Integration Tests
uses: ./
- name: Graphviz test
run: dot -V