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. 6
      .github/workflows/test.yml

8
.github/workflows/publish.yml

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

6
.github/workflows/test.yml

@ -1,5 +1,9 @@
--- ---
on: [pull_request] on:
push:
branches:
- main
pull_request:
name: Run tests name: Run tests
jobs: jobs:

Loading…
Cancel
Save