From d1e27a2d377115debb2e65777114154bb9d1d542 Mon Sep 17 00:00:00 2001 From: Nicolas Ettlin Date: Mon, 9 Dec 2024 12:00:35 +0100 Subject: [PATCH] Update the npm version used in GitHub actions --- .github/workflows/deploy.yml | 6 ++++-- .github/workflows/lint.yml | 7 ++++++- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index b5aa45b..7f97a33 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -12,8 +12,10 @@ jobs: - uses: actions/checkout@v3 - uses: actions/setup-node@v3 with: - node-version: 16 - - uses: bahmutov/npm-install@v1 + node-version: 22 + cache: 'npm' + - name: Install NPM dependencies + run: npm ci - name: Build Storybook 🔧 run: STORYBOOK_MAPKIT_JS_TOKEN="${{ secrets.MAPKIT_JS_TOKEN }}" npm run build-storybook shell: bash diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 4628cb4..dda3065 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -6,7 +6,12 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - - uses: bahmutov/npm-install@v1 + - uses: actions/setup-node@v3 + with: + node-version: 22 + cache: 'npm' + - name: Install NPM dependencies + run: npm ci - name: Check EditorConfig run: npx editorconfig-checker shell: bash