Skip to content

Commit

Permalink
Update test.yml
Browse files Browse the repository at this point in the history
Switch branch to main
  • Loading branch information
jamesdaniels committed Jul 15, 2024
1 parent 3639e41 commit 73e6a0e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Test and publish
on:
push:
branches:
- master
- main
paths-ignore:
- "**/*.md"
pull_request:
Expand Down Expand Up @@ -201,7 +201,7 @@ jobs:
runs-on: ubuntu-latest
name: Publish (NPM)
needs: ['build', 'test', 'browser']
if: ${{ github.ref == 'refs/heads/master' || github.event_name == 'release' }}
if: ${{ github.ref == 'refs/heads/main' || github.event_name == 'release' }}
steps:
- name: Setup node
uses: actions/setup-node@v3
Expand All @@ -217,4 +217,4 @@ jobs:
chmod +x publish.sh
./publish.sh
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 comments on commit 73e6a0e

Please sign in to comment.