Skip to content

Commit

Permalink
try
Browse files Browse the repository at this point in the history
  • Loading branch information
paschalidi committed Jan 15, 2020
1 parent 3c2929e commit 519aeca
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/npmpublish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ jobs:
publish-npm:
# needs: test
env:
NPM_TOKEN: ${{secrets.npm_token}}
REF: ${{github.ref}}
runs-on: ubuntu-latest
steps:
Expand All @@ -42,6 +43,7 @@ jobs:
- run: yarn
- run: echo ${REF#refs/tags/}
- run: yarn build:package
- run: npm run publish --access public --new-version ${REF#"refs/tags/"} --no-git-tag-version
- run: echo '//registry.npmjs.org/:_authToken=${NPM_TOKEN}' > ~/repo/.npmrc
- run: npm run publish --access public --new-version ${REF#"refs/tags/"} --no-git-tag-version
env:
NODE_AUTH_TOKEN: ${{secrets.npm_token}}
NODE_AUTH_TOKEN: ${NPM_TOKEN}
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{
"name": "@the-simple/web-components",
"version": "1.0.1",
"private": false,
"license": "MIT",
"files": [
"/dist",
Expand Down

0 comments on commit 519aeca

Please sign in to comment.