From 845d18cc0674b52c13d1bf5c3c45d06c3cb3b9cc Mon Sep 17 00:00:00 2001 From: Nathan Bierema Date: Sun, 2 Jul 2023 11:22:39 -0400 Subject: [PATCH] CI --- .github/workflows/CI.yml | 27 +++++++++++++++++++++------ 1 file changed, 21 insertions(+), 6 deletions(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index d24be0394..42bd391fe 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -5,17 +5,32 @@ on: jobs: test: runs-on: ubuntu-latest - steps: - uses: actions/checkout@v3 - uses: actions/setup-node@v3 with: node-version: 'lts/*' cache: 'yarn' - - # Get local dependencies - run: yarn install - - # Run tests - - run: yarn run prettier:check - run: yarn run test-all + check-fomatting: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - uses: actions/setup-node@v3 + with: + node-version: 'lts/*' + cache: 'yarn' + - run: yarn install + - run: yarn run prettier:check + test-examples: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - uses: actions/setup-node@v3 + with: + node-version: 'lts/*' + cache: 'yarn' + - run: yarn install + - run: git apply changes.patch + - run: npm run type-check