We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 117cf6c commit e0a7800Copy full SHA for e0a7800
.github/workflows/publish.yml
@@ -8,15 +8,18 @@ permissions:
8
contents: read
9
10
jobs:
11
- build:
+ publish:
12
runs-on: ubuntu-latest
13
steps:
14
- uses: actions/checkout@v4
15
- # Setup .npmrc file to publish to npm
+
16
- uses: actions/setup-node@v4
17
with:
18
- node-version: '>=20.0.0'
19
- registry-url: 'https://registry.npmjs.org/'
20
- - run: yarn
+ node-version: 20
+ registry-url: https://registry.npmjs.org/
21
+ - run: yarn install --frozen-lockfile
22
- run: yarn run build:lib
- - run: yarn publish ./dist/libs/ngx-contextmenu
23
24
+ - name: Publish
25
+ run: npm publish ./dist/libs/ngx-contextmenu --access public
0 commit comments