Skip to content

Commit 5353bf9

Browse files
committed
try npm
1 parent 7c7aae8 commit 5353bf9

1 file changed

Lines changed: 8 additions & 8 deletions

File tree

.github/workflows/publish-github.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ jobs:
1515
registry-url: "https://npm.pkg.github.com"
1616
# Defaults to the user or organization that owns the workflow file
1717
# scope: '@octocat'
18-
- run: yarn
19-
- run: yarn build
18+
- run: npm
19+
- run: npm run build
2020

2121
publish-npm:
2222
needs: build
@@ -27,9 +27,9 @@ jobs:
2727
with:
2828
node-version: 12
2929
registry-url: https://registry.npmjs.org/
30-
- run: yarn
31-
- run: yarn build
32-
- run: yarn publish
30+
- run: npm install
31+
- run: npm run build
32+
- run: npm publish
3333
env:
3434
NODE_AUTH_TOKEN: ${{secrets.npm_token}}
3535

@@ -44,8 +44,8 @@ jobs:
4444
registry-url: https://npm.pkg.github.com
4545
always-auth: tru
4646
scope: "@andrejpk"
47-
- run: yarn
48-
- run: yarn build
49-
- run: yarn publish --verbose
47+
- run: npm install
48+
- run: npm run build
49+
- run: npm publish
5050
env:
5151
NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}

0 commit comments

Comments
 (0)