mirror of
https://github.com/TextPlace/CoreTextPlace.git
synced 2025-04-30 12:41:10 +00:00
fix: npm publish (?
This commit is contained in:
parent
ad58693a10
commit
4dd6c01cc1
1 changed files with 6 additions and 1 deletions
7
.github/workflows/publish_npm.yml
vendored
7
.github/workflows/publish_npm.yml
vendored
|
@ -14,8 +14,13 @@ jobs:
|
|||
uses: denoland/setup-deno@v1.1.4
|
||||
with:
|
||||
deno-version: v1.x
|
||||
# Setup .npmrc file to publish to npm
|
||||
- uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: "20.x"
|
||||
registry-url: "https://registry.npmjs.org"
|
||||
- run: deno run -A scripts/build_npm.ts
|
||||
- run: cd npm && npm ci
|
||||
- run: cd npm && npm publish --provenance --access public
|
||||
env:
|
||||
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
|
||||
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|
||||
|
|
Loading…
Add table
Reference in a new issue