Skip to content

Commit

Permalink
Update cd.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Saranshmalik authored Nov 19, 2020
1 parent 0307576 commit 8738863
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,14 +24,12 @@ jobs:
node-version: 12
# Specifies the registry, this field is required!
registry-url: https://registry.npmjs.org/
# clean install of your projects' deps. We use "npm ci" to avoid package lock changes
- run: npm ci
# set up git since we will later push to the repo
- run: git config --global user.name "Saranshmalik"
- run: git config --global user.email "[email protected]"
# upgrade npm version in package.json to the tag used in the release.
- run: npm version ${{ github.event.release.tag_name }}
# publish to NPM -> there is one caveat, continue reading for the fix
# publish to NPM
- run: npm publish
env:
# Use a token to publish to NPM. See below for how to set it up
Expand Down

0 comments on commit 8738863

Please sign in to comment.