fix: npm publish install
This commit is contained in:
6
.github/workflows/npm-publish.yml
vendored
6
.github/workflows/npm-publish.yml
vendored
@ -15,7 +15,7 @@ jobs:
|
|||||||
- uses: actions/setup-node@v4
|
- uses: actions/setup-node@v4
|
||||||
with:
|
with:
|
||||||
node-version: "20.x"
|
node-version: "20.x"
|
||||||
- run: npm ci
|
- run: npm ci --force
|
||||||
- run: npm run cspell
|
- run: npm run cspell
|
||||||
- run: npm run prettier
|
- run: npm run prettier
|
||||||
- run: npm run lint
|
- run: npm run lint
|
||||||
@ -28,7 +28,7 @@ jobs:
|
|||||||
- uses: actions/setup-node@v4
|
- uses: actions/setup-node@v4
|
||||||
with:
|
with:
|
||||||
node-version: "20.x"
|
node-version: "20.x"
|
||||||
- run: npm ci
|
- run: npm ci --force
|
||||||
- run: npm run build
|
- run: npm run build
|
||||||
|
|
||||||
publish-npm:
|
publish-npm:
|
||||||
@ -40,7 +40,7 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
node-version: "20.x"
|
node-version: "20.x"
|
||||||
registry-url: https://registry.npmjs.org/
|
registry-url: https://registry.npmjs.org/
|
||||||
- run: npm ci
|
- run: npm ci --force
|
||||||
- run: npm publish
|
- run: npm publish
|
||||||
env:
|
env:
|
||||||
NODE_AUTH_TOKEN: ${{secrets.npm_token}}
|
NODE_AUTH_TOKEN: ${{secrets.npm_token}}
|
||||||
|
Reference in New Issue
Block a user