From 8e25a6e9b0eebc22e9fc0b17876dfe8c1b590f31 Mon Sep 17 00:00:00 2001 From: Vinayak Kulkarni <19776877+vinayakkulkarni@users.noreply.github.com> Date: Fri, 21 Oct 2022 17:23:09 +0530 Subject: [PATCH] fix: setup-node after checkout repo Signed-off-by: Vinayak Kulkarni <19776877+vinayakkulkarni@users.noreply.github.com> --- .github/workflows/ct.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ct.yml b/.github/workflows/ct.yml index a873369..5a927d9 100644 --- a/.github/workflows/ct.yml +++ b/.github/workflows/ct.yml @@ -12,11 +12,6 @@ jobs: sudo apt-get update sudo apt-get install -y g++-9 - - name: Setup node env 📦 - uses: actions/setup-node@v3 - with: - node-version-file: 'package.json' - - name: Check out repository ✨ (non-dependabot) if: ${{ github.actor != 'dependabot[bot]' }} uses: actions/checkout@v3 @@ -27,6 +22,11 @@ jobs: with: ref: ${{ github.event.pull_request.head.sha }} + - name: Setup node env 📦 + uses: actions/setup-node@v3 + with: + node-version-file: 'package.json' + - name: Install dependencies 🚀 run: npm i --prefer-offline --no-audit --omit=optional