Skip to content

Commit fdfcd78

Browse files
fixed bug in workflow file
1 parent 99ab39c commit fdfcd78

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.github/workflows/publish.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -37,13 +37,13 @@
3737
# This workflow will run tests using node and then publish a package to GitHub Packages when a release is created
3838
# For more information see: https://help.github.com/actions/language-and-framework-guides/publishing-nodejs-packages
3939

40-
name: Publish Angular package
41-
40+
name: Node.js Package
41+
4242
on:
4343
push:
4444
branches:
4545
- master
46-
46+
4747
jobs:
4848
build:
4949
runs-on: ubuntu-latest
@@ -52,9 +52,9 @@ jobs:
5252
- uses: actions/setup-node@v1
5353
with:
5454
node-version: 12
55-
registry-url: https://registry.npmjs.org/
55+
registry-url:
5656
- run: npm i && npm run build
5757
- run: cd dist && npm publish
58-
env:
59-
NODE_AUTH_TOKEN: ${{secrets.npm_token}}
58+
env: https://registry.npmjs.org/
59+
NODE_AUTH_TOKEN: ${{ secrets.npm_token }}
6060

0 commit comments

Comments
 (0)