Skip to content

Commit

Permalink
chore: adjust workflows for canary publishing
Browse files Browse the repository at this point in the history
  • Loading branch information
nicholasgriffintn committed Jun 28, 2024
1 parent 566ff4f commit 36501bf
Show file tree
Hide file tree
Showing 6 changed files with 16 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ name: "CodeQL"

on:
push:
branches: [ "main" ]
branches: [ "main", "canary", "*.x" ]
pull_request:
# The branches below must be a subset of the branches above
branches: [ "main" ]
branches: [ "main", "canary", "*.x" ]
schedule:
- cron: '41 21 * * 3'

Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,13 @@ on:
pull_request:
branches:
- 'main'
- canary
- "*.x"
push:
branches:
- main
- canary
- "*.x"
permissions:
contents: read

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ name: Deploy static content to Pages
on:
# Runs on pushes targeting the default branch
push:
branches: ["main"]
branches: ["main", "canary", "*.x"]

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
name: Publish Package to npmjs
on:
push:
branches:
- canary
- "*.x"
workflow_dispatch:
jobs:
build:
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,13 @@ on:
pull_request:
branches:
- 'main'
- canary
- "*.x"
push:
branches:
- main
- canary
- "*.x"
permissions:
contents: read

Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@
"release": {
"branches": [
"main",
"*.x",
{
"name": "canary",
"prerelease": true
Expand Down

0 comments on commit 36501bf

Please sign in to comment.