diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7cd601692..80ac6e4b5 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -31,17 +31,17 @@ jobs: cp .env.example .env php artisan key:generate - - name: Cache yarn dependencies - uses: actions/cache@v4 + - name: Setup Node.js + uses: actions/setup-node@v4 with: - path: node_modules - key: yarn-${{ hashFiles('yarn.lock') }} + node-version: '24' + cache: 'npm' - - name: Run yarn - run: yarn && yarn dev + - name: Install node modules and build assets + run: npm ci && npm run dev - name: Run ESLint - run: yarn lint + run: npm run lint - name: Run tests run: php artisan test diff --git a/package-lock.json b/package-lock.json index 47176653c..698780519 100644 --- a/package-lock.json +++ b/package-lock.json @@ -5,7 +5,7 @@ "packages": { "": { "dependencies": { - "select2": "^4.0.13", + "select2": "~4.0.13", "sortablejs": "^1.15.0" }, "devDependencies": { diff --git a/package.json b/package.json index 00d8b8974..533f19534 100644 --- a/package.json +++ b/package.json @@ -26,7 +26,7 @@ "webpack-cli": "^6.0.1" }, "dependencies": { - "select2": "^4.0.13", + "select2": "~4.0.13", "sortablejs": "^1.15.0" } }