Skip to content

Commit 3ce261f

Browse files
committed
workflow improve
1 parent d5a20e5 commit 3ce261f

File tree

1 file changed

+3
-8
lines changed

1 file changed

+3
-8
lines changed

.github/workflows/npmpublish.yml

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,8 @@ name: Publish HttpSnippet Packages
33
on:
44
push:
55
branches:
6-
- main
7-
paths-ignore:
8-
- "package.json"
9-
- "**.md"
6+
- sahar/cicd
7+
108
workflow_dispatch:
119
inputs:
1210
logLevel:
@@ -42,13 +40,10 @@ jobs:
4240
registry-url: "https://npm.pkg.github.com"
4341
scope: "@rapidapi"
4442

45-
- name: Install yarn
46-
run: npm install -g yarn
47-
4843
- name: Install root dependencies
4944
run: yarn --no-progress --non-interactive --frozen-lockfile
5045

5146
- name: Publish Package
52-
run: npm publish
47+
run: yarn publish
5348
env:
5449
NODE_AUTH_TOKEN: ${{secrets.ACTIONS_ACCESS_KEY}}

0 commit comments

Comments
 (0)