From be239d2230f58bb7253f59af7984944acad84db0 Mon Sep 17 00:00:00 2001 From: Elian Doran Date: Sat, 13 Jul 2024 19:08:48 +0300 Subject: [PATCH] ci: Set up node environment & cache --- .github/workflows/dev.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/dev.yml b/.github/workflows/dev.yml index 82b92d278..392046d2c 100644 --- a/.github/workflows/dev.yml +++ b/.github/workflows/dev.yml @@ -7,8 +7,12 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - - name: Install dependencies - run: npm i + - name: Set up node & dependencies + uses: actions/setup-node@v4 + with: + node-version: 18 + cache: "npm" + - run: npm ci - name: Run the TypeScript build run: npx tsc - name: Create server-package.json