From f4a5fa5be944d563cea6afce80c0aca1e448e151 Mon Sep 17 00:00:00 2001 From: Malachi Soord Date: Mon, 2 Sep 2024 23:25:01 +0200 Subject: [PATCH] Simplify ci --- .github/workflows/resources.yml | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/.github/workflows/resources.yml b/.github/workflows/resources.yml index 6b263dc..52ea418 100644 --- a/.github/workflows/resources.yml +++ b/.github/workflows/resources.yml @@ -10,14 +10,11 @@ jobs: - name: Checkout the repository uses: actions/checkout@v4 - - name: Get Node.js version from .nvmrc - id: get-node-version - run: echo ::set-output name=NODE_VERSION::$(cat .nvmrc) - - name: Setup Node.js uses: actions/setup-node@v4 with: - node-version: '${{ steps.get-node-version.outputs.NODE_VERSION }}' + node-version-file: '.nvmrc' + cache: 'npm' - name: Install dependencies run: npm install