Skip to content
This repository was archived by the owner on Mar 7, 2025. It is now read-only.

Commit 455cd6d

Browse files
authored
Fix publish CI (#12)
1 parent 5ec52b3 commit 455cd6d

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

.github/workflows/publish.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,10 @@ jobs:
2525
- name: Prepare
2626
run: pnpm install --frozen-lockfile
2727

28-
- name: Publish
29-
run: pnpm --recursive publish --access public
28+
- name: Set publishing config
29+
run: pnpm config set '//registry.npmjs.org/:_authToken' "${NODE_AUTH_TOKEN}"
3030
env:
3131
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
32+
33+
- name: Publish
34+
run: pnpm --recursive publish --access public --tag latest

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
"name": "define-config-plugin-types",
33
"version": "1.0.0-alpha.0",
44
"description": "Provides several plugin types for eslint-define-config",
5+
"private": true,
56
"scripts": {
67
"clean": "rimraf node_modules",
78
"generate:plugin-dts": "tsx scripts/generate-plugin-dts.ts",

0 commit comments

Comments
 (0)