From a594fbb8add6be5b99b258a99757613abfb0f84b Mon Sep 17 00:00:00 2001 From: Stojan Dimitrovski Date: Sat, 20 Apr 2024 11:41:26 +0200 Subject: [PATCH] ci: add build job --- .github/workflows/ci.yml | 34 +++++++++++++++++----------------- 1 file changed, 17 insertions(+), 17 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 999406eb..41a11eaf 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -41,24 +41,24 @@ jobs: tsc: true prettier: true - # Lint: - # strategy: - # matrix: - # node: ['18'] + Build: + strategy: + matrix: + node: ['20'] - # runs-on: ubuntu-latest - # steps: - # - uses: actions/checkout@v3 + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 - # - uses: pnpm/action-setup@v2 - # with: - # version: 8.1.0 + - uses: pnpm/action-setup@v2.2.3 + with: + version: 8.14.0 - # - uses: actions/setup-node@v3 - # with: - # node-version: 18.x - # cache: pnpm + - name: Set up Node + uses: actions/setup-node@v2 + with: + node-version: ${{ matrix.node }} + cache: pnpm - # - run: pnpm install --frozen-lockfile - # - run: pnpm run lint - # - run: pnpm run check + - run: pnpm install --frozen-lockfile + - run: pnpm build