Skip to content

Commit 3447c21

Browse files
committed
fix publish command
- using `yarn npm publish` - updating auth token env name - setting package visibility updating publish visibility
1 parent d88c73f commit 3447c21

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

.github/workflows/publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,6 @@ jobs:
1616
scope: '@airframes'
1717
- run: yarn install --immutable
1818
- run: yarn build
19-
- run: yarn publish
19+
- run: yarn npm publish
2020
env:
2121
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

package.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,5 +44,8 @@
4444
"tsup": "^8.0.2",
4545
"typescript": "^5.3.3"
4646
},
47+
"publishConfig": {
48+
"access": "public"
49+
},
4750
"packageManager": "yarn@4.5.1"
4851
}

0 commit comments

Comments
 (0)