mirror of
https://github.com/typeorm/typeorm.git
synced 2025-12-08 21:26:23 +00:00
chore: Fix publish command (#11379)
This commit is contained in:
parent
6c5668bd82
commit
cebd63b1f4
6
.github/workflows/publish-package.yml
vendored
6
.github/workflows/publish-package.yml
vendored
@ -2,6 +2,7 @@ name: Publish Package to npmjs
|
||||
on:
|
||||
release:
|
||||
types: [published]
|
||||
workflow_dispatch:
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
@ -17,7 +18,8 @@ jobs:
|
||||
registry-url: 'https://registry.npmjs.org'
|
||||
- run: npm ci
|
||||
- run: npm run package
|
||||
- run: cd build/package
|
||||
- run: npm publish --provenance --access public
|
||||
- run: |
|
||||
cd build/package
|
||||
npm publish --provenance --access public
|
||||
env:
|
||||
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user