Skip to content
This repository was archived by the owner on Jan 13, 2025. It is now read-only.

Commit

Permalink
chore: update ci workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
ijsKoud authored May 3, 2023
1 parent db629b5 commit 1db5278
Showing 1 changed file with 56 additions and 7 deletions.
63 changes: 56 additions & 7 deletions .github/workflows/continuous-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 1db5278

Please sign in to comment.