From 26a7ab25e988d5ad4a6a74a08515c009888cbb22 Mon Sep 17 00:00:00 2001 From: Ali Ariff Date: Fri, 17 Sep 2021 18:55:17 +0200 Subject: [PATCH] fix: use npm 7 for release workflow --- .github/workflows/release.yaml | 4 +++- .github/workflows/test.yaml | 1 + 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index d0e3c58..8a25b74 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -19,7 +19,9 @@ jobs: with: node-version: "14" - name: Install dependencies - run: npm install + run: | + npm i -g npm@7 + npm install - name: Release env: GITHUB_TOKEN: ${{ secrets.PERSONAL_GITHUB_TOKEN }} diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 407fd74..e743948 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -23,6 +23,7 @@ jobs: bundler-cache: true # runs 'bundle install' and caches installed gems automatically - name: Install dependencies run: | + npm i -g npm@7 npm install gem install htmlbeautifier - name: Run headless test (${{ matrix.os }})