Skip to content

Commit

Permalink
chore: testing ci
Browse files Browse the repository at this point in the history
  • Loading branch information
aorumbayev committed Aug 26, 2024
1 parent 077ef7b commit 9d9443e
Showing 1 changed file with 6 additions and 21 deletions.
27 changes: 6 additions & 21 deletions .github/workflows/cicd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ concurrency:
cancel-in-progress: true

jobs:
build:
name: Build
build-and-lint:
name: Build and Lint
runs-on: ubuntu-latest
steps:
- name: Check out repository
Expand All @@ -27,6 +27,7 @@ jobs:
uses: pnpm/action-setup@v4
with:
version: 9
run_install: true

- name: Setup node
uses: actions/setup-node@v4
Expand All @@ -42,24 +43,6 @@ jobs:
- name: Run build
run: pnpm run build

lint:
name: Linting
runs-on: ubuntu-latest
steps:
- name: Check out repository
uses: actions/checkout@v4

- name: Setup node
uses: actions/setup-node@v4
with:
node-version: 18
scope: "@subtopia-algo"
cache: "pnpm"
cache-dependency-path: ./pnpm-lock.yaml

- name: Install dependencies
run: pnpm ci

- name: Lint
run: pnpm run lint:scripts

Expand Down Expand Up @@ -100,7 +83,7 @@ jobs:

- name: "Upload coverage to Codecov"
uses: codecov/codecov-action@v3
if: runner.os == 'Linux' && matrix.node == '18'
if: runner.os == 'Linux' && matrix.node == '20'
with:
fail_ci_if_error: true
token: ${{ secrets.CODECOV_TOKEN }}
Expand All @@ -119,6 +102,7 @@ jobs:
uses: pnpm/action-setup@v4
with:
version: 9
run_install: true

- name: Setup node
uses: actions/setup-node@v4
Expand Down Expand Up @@ -158,6 +142,7 @@ jobs:
uses: pnpm/action-setup@v4
with:
version: 9
run_install: true

- name: Setup node
uses: actions/setup-node@v4
Expand Down

0 comments on commit 9d9443e

Please sign in to comment.