fix: npm publish install

This commit is contained in:
Dolan Miu
2024-10-14 01:47:59 +01:00
parent e8564d58c6
commit 6e371d42a7

View File

@ -15,7 +15,7 @@ jobs:
- uses: actions/setup-node@v4
with:
node-version: "20.x"
- run: npm ci
- run: npm ci --force
- run: npm run cspell
- run: npm run prettier
- run: npm run lint
@ -28,7 +28,7 @@ jobs:
- uses: actions/setup-node@v4
with:
node-version: "20.x"
- run: npm ci
- run: npm ci --force
- run: npm run build
publish-npm:
@ -40,7 +40,7 @@ jobs:
with:
node-version: "20.x"
registry-url: https://registry.npmjs.org/
- run: npm ci
- run: npm ci --force
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{secrets.npm_token}}