Skip to content

Commit

Permalink
branch is main not master
Browse files Browse the repository at this point in the history
  • Loading branch information
juanelas committed Nov 19, 2021
1 parent baffec4 commit 0a4b8b8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/nodejs.yml
Expand Up @@ -56,13 +56,13 @@ jobs:
- uses: EndBug/version-check@v1
id: check

- if: github.event_name == 'push' && github.ref == 'refs/heads/master' && steps.check.outputs.changed == 'true'
- if: github.event_name == 'push' && github.ref == 'refs/heads/main' && steps.check.outputs.changed == 'true'
name: send report to coveralls.io
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}

- if: github.event_name == 'push' && github.ref == 'refs/heads/master' && steps.check.outputs.changed == 'true'
- if: github.event_name == 'push' && github.ref == 'refs/heads/main' && steps.check.outputs.changed == 'true'
run: npm publish --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 comments on commit 0a4b8b8

Please sign in to comment.