From ce1e6fc509d0a959bfbb54443b331a5122bb5030 Mon Sep 17 00:00:00 2001 From: HarelM Date: Wed, 20 Mar 2024 12:51:03 +0200 Subject: [PATCH] legacy-peer-deps, the proper way. --- .github/workflows/ci.yml | 6 +++--- .npmrc | 1 + 2 files changed, 4 insertions(+), 3 deletions(-) create mode 100644 .npmrc diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5acc036e..3492bcc2 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -34,7 +34,7 @@ jobs: - uses: actions/setup-node@v4 with: node-version-file: '.nvmrc' - - run: npm ci --legacy-peer-deps + - run: npm ci - run: npm run build - run: npm run lint - run: npm run lint-css @@ -51,7 +51,7 @@ jobs: - uses: actions/setup-node@v4 with: node-version-file: '.nvmrc' - - run: npm ci --legacy-peer-deps + - run: npm ci - run: npm run build - name: artifacts/maputnik uses: actions/upload-artifact@v1 @@ -105,7 +105,7 @@ jobs: steps: - name: Checkout uses: actions/checkout@v4 - - run: npm ci --legacy-peer-deps + - run: npm ci - name: Cypress run uses: cypress-io/github-action@v6 with: diff --git a/.npmrc b/.npmrc new file mode 100644 index 00000000..80bcbed9 --- /dev/null +++ b/.npmrc @@ -0,0 +1 @@ +legacy-peer-deps = true