From 11d7b34ffd4c7aee85e532b24eddb39a4f49b29f Mon Sep 17 00:00:00 2001 From: corners2wall Date: Thu, 9 Nov 2023 22:18:09 +0300 Subject: [PATCH] maybe ci? --- .github/workflows/ci.yml | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index add7363..6d5f60d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -19,14 +19,18 @@ jobs: - name: Check out code uses: actions/checkout@v3 - - name: Setup node + - name: Setup Node uses: actions/setup-node@v3 with: - node-version: '18' - cache: 'npm' + node-version: 18 + cache: yarn + cache-dependency-path: yarn.lock - - name: Install node dependencies - run: npm ci + - name: Install with Yarn + run: yarn && yarn install - - name: Run ESLint - run: npm run lint \ No newline at end of file + - name: Compile with TypeScript + run: yarn tsc + + - name: Lint with ESLint + run: yarn lint