diff --git a/.github/workflows/npm-publish.yml b/.github/workflows/npm-publish.yml index 5ab2ac2..d4ef089 100644 --- a/.github/workflows/npm-publish.yml +++ b/.github/workflows/npm-publish.yml @@ -12,7 +12,7 @@ jobs: with: node-version: 16 registry-url: https://registry.npmjs.org/ - - run: npm ci + - run: npm ci --legacy-peer-deps - run: npm test publish-npm: @@ -24,7 +24,7 @@ jobs: with: node-version: 16 registry-url: https://registry.npmjs.org/ - - run: npm ci + - run: npm ci --legacy-peer-deps - run: npm publish --access=public env: NODE_AUTH_TOKEN: ${{secrets.npm_token}} \ No newline at end of file diff --git a/.github/workflows/npm-test.yml b/.github/workflows/npm-test.yml index 16a3a16..26df28c 100644 --- a/.github/workflows/npm-test.yml +++ b/.github/workflows/npm-test.yml @@ -18,7 +18,7 @@ jobs: node-version: 16 cache: 'npm' registry-url: https://registry.npmjs.org/ - - run: npm ci + - run: npm ci --legacy-peer-deps - run: npm test test-build-package: needs: test @@ -29,5 +29,5 @@ jobs: with: node-version: 16 registry-url: https://registry.npmjs.org/ - - run: npm ci + - run: npm ci --legacy-peer-deps - run: npm run build \ No newline at end of file