From 5f8a3a3ce0c5819be085852c3317db8c15f26394 Mon Sep 17 00:00:00 2001 From: moki Date: Tue, 24 Oct 2023 20:22:07 +0400 Subject: [PATCH] infra: update workflows --- .github/workflows/ci.yml | 2 ++ .github/workflows/tests.yml | 2 ++ 2 files changed, 4 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2783a740..a6f28d9d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -20,6 +20,8 @@ jobs: with: node-version: '18.x' cache: 'npm' + - name: npm10: + run: npm i -g 'npm@10.*' --registry=https://registry.npmjs.org - name: Install Packages run: npm ci - name: Lint Files diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 480664ac..9590d9fb 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -24,6 +24,8 @@ jobs: node-version: ${{ matrix.node-version }} os: ${{ matrix.os }} cache: 'npm' + - name: npm10 + run: npm i -g 'npm@10.*' --registry=https://registry.npmjs.org - name: Install packages for project run: npm ci - run: npm run build