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