Browse Source

switch default to main

pull/274/head
butlerx 4 years ago
parent
commit
dc8a7ecb09
No known key found for this signature in database GPG Key ID: B37CA765BAA89170
  1. 8
      .github/workflows/publish.yml
  2. 8
      .github/workflows/test.yml

8
.github/workflows/publish.yml

@ -1,8 +1,8 @@
---
on:
push:
branches:
- master
release:
types:
- published
name: Build and Publish
jobs:
@ -51,4 +51,4 @@ jobs:
- run: yarn
- run: yarn publish --non-interactive
env:
NODE_AUTH_TOKEN: ${{secrets.NODE_GITHUB_TOKEN}}
NODE_AUTH_TOKEN: ${{secrets.node_github_token}}

8
.github/workflows/test.yml

@ -1,5 +1,9 @@
---
on: [pull_request]
on:
push:
branches:
- main
pull_request:
name: Run tests
jobs:
@ -19,4 +23,4 @@ jobs:
- run: yarn build
name: Compile Typescript
- run: yarn test
name: Run tests
name: Run tests

Loading…
Cancel
Save