Skip to content

Commit 73e6a0e

Browse files
authored
Update test.yml
Switch branch to main
1 parent 3639e41 commit 73e6a0e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/test.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: Test and publish
33
on:
44
push:
55
branches:
6-
- master
6+
- main
77
paths-ignore:
88
- "**/*.md"
99
pull_request:
@@ -201,7 +201,7 @@ jobs:
201201
runs-on: ubuntu-latest
202202
name: Publish (NPM)
203203
needs: ['build', 'test', 'browser']
204-
if: ${{ github.ref == 'refs/heads/master' || github.event_name == 'release' }}
204+
if: ${{ github.ref == 'refs/heads/main' || github.event_name == 'release' }}
205205
steps:
206206
- name: Setup node
207207
uses: actions/setup-node@v3
@@ -217,4 +217,4 @@ jobs:
217217
chmod +x publish.sh
218218
./publish.sh
219219
env:
220-
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
220+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 commit comments

Comments
 (0)