feat: Use overrides instead of --legacy-peer-deps (#529)

This commit is contained in:
JellyBrick
2023-10-29 04:32:39 +09:00
committed by GitHub
parent 312c636ec4
commit db7f6209b2
5 changed files with 13 additions and 7 deletions

View File

@@ -14,5 +14,5 @@ jobs:
- uses: actions/setup-node@v2
with:
node-version: 16
- run: npm ci --legacy-peer-deps
- run: npm ci
- run: npm run lint

View File

@@ -24,7 +24,7 @@ jobs:
node-version: "16.x"
- name: Build for Deno
run: |
npm ci --legacy-peer-deps
npm ci
npm run build:deno
if: ${{ steps.release.outputs.release_created }}
- name: Move Deno files
@@ -55,7 +55,7 @@ jobs:
if: ${{ steps.release.outputs.release_created }}
- name: Publish package to npmjs
run: |
npm ci --legacy-peer-deps
npm ci
npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

View File

@@ -14,5 +14,5 @@ jobs:
- uses: actions/setup-node@v2
with:
node-version: 16
- run: npm ci --legacy-peer-deps
- run: npm ci
- run: npm run test