Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 4 additions & 8 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,10 @@ jobs:
with:
node-version: ${{ env.NODE-VERSION }}
registry-url: https://registry.npmjs.org/
- name: Build and publish to npm
- name: Install
run: yarn install --frozen-lockfile
- name: Upload artifacts
run: |
echo always-auth=true > .npmrc
echo "registry=https://registry.npmjs.org/" >> .npmrc
echo //registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }} > .npmrc
npm publish --access public
- name: Publish to npm
run: npm publish --access public
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
CI: true
Loading