Skip to content

Commit

Permalink
Remove publish step from workflow (#12)
Browse files Browse the repository at this point in the history
  • Loading branch information
FejZa authored Feb 6, 2024
1 parent 44e658d commit aa142be
Showing 1 changed file with 0 additions and 17 deletions.
17 changes: 0 additions & 17 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,20 +24,3 @@ jobs:
- name: Run tests
run: npm run test

publish:
needs: ci

runs-on: ubuntu-latest

if: github.ref == 'refs/heads/main' && needs.ci.result == 'success'

steps:
- name: Install NPM login utility
run: npm install -g npm-cli-login

- name: Login to public NPM registry
run: npm-cli-login -u ${{ secrets.NPM_USERNAME }} -p ${{ secrets.NPM_PASSWORD }} -e ${{ secrets.NPM_EMAIL }}

- name: Publish
run: npm run publish

0 comments on commit aa142be

Please sign in to comment.