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