Skip to content

Commit

Permalink
chore: add publishConfig & tweak github workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
mattlubner committed Nov 4, 2020
1 parent ec816d5 commit c758a24
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/semantic-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,10 @@ jobs:
registry-url: https://registry.npmjs.org/
- run: yarn install --frozen-lockfile
- run: yarn build
- name: Release
- run: yarn semantic-release
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
run: yarn semantic-release

# publish-gpr:
# needs: test
Expand All @@ -44,7 +43,7 @@ jobs:
# registry-url: https://npm.pkg.github.com/
# - run: yarn install --frozen-lockfile
# - run: yarn build
# - name: Release
# - run: yarn semantic-release
# env:
# GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# NPM_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# run: yarn semantic-release
3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,5 +55,8 @@
"repository": {
"type": "git",
"url": "https://github.com/mattlubner/qr-decode-encode.git"
},
"publishConfig": {
"access": "public"
}
}

0 comments on commit c758a24

Please sign in to comment.