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