diff --git a/.github/workflows/continuous-integration.yml b/.github/workflows/continuous-integration.yml index 481e998..cda74ca 100644 --- a/.github/workflows/continuous-integration.yml +++ b/.github/workflows/continuous-integration.yml @@ -7,23 +7,72 @@ on: pull_request: jobs: - all: + Dependencies: runs-on: ubuntu-latest steps: - name: Checkout repository uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3 - - name: Install Node v16 + - name: Install Node v18 uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c # v3 with: - node-version: 16 + node-version: 18 cache: yarn - name: Install Dependencies - run: yarn install + run: yarn install --immutable - - name: Run ESLint - run: yarn lint + Building: + runs-on: ubuntu-latest + needs: Dependencies + steps: + - name: Checkout repository + uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3 + + - name: Install Node v18 + uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c # v3 + with: + node-version: 18 + cache: yarn + + - name: Install Dependencies + run: yarn install --immutable - name: Run Compiler - run: yarn build + run: yarn run build + Linting: + runs-on: ubuntu-latest + needs: Dependencies + steps: + - name: Checkout repository + uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3 + + - name: Install Node v18 + uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c # v3 + with: + node-version: 18 + cache: yarn + + - name: Install Dependencies + run: yarn install --immutable + + - name: Run Eslint + run: yarn run lint +# Testing: +# runs-on: ubuntu-latest +# needs: Dependencies +# steps: +# - name: Checkout repository +# uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3 + +# - name: Install Node v18 +# uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c # v3 +# with: +# node-version: 18 +# cache: yarn + +# - name: Install Dependencies +# run: yarn install --immutable + +# - name: Run Vitest +# run: yarn run test