-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
46 additions
and
0 deletions.
There are no files selected for viewing
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
name: Release | ||
|
||
on: | ||
pull_request: | ||
branches: | ||
- develop | ||
# TODO: Use master instead of develop post testing | ||
# - master | ||
|
||
jobs: | ||
|
||
tests: | ||
uses: ./.github/workflows/tests.yml | ||
|
||
publish: | ||
needs: [tests] | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: ./.github/actions/dependencies | ||
with: | ||
root: false | ||
packages-react: true | ||
packages-styles: true | ||
- name: Build packages | ||
run: | | ||
NODE_ENV=production yarn --cwd packages/react build | ||
NODE_ENV=production yarn --cwd packages/styles build | ||
- run: echo "TODO: Publish to NPM" | ||
|
||
canary: | ||
needs: [tests] | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: ./.github/actions/dependencies | ||
with: | ||
root: false | ||
packages-react: true | ||
packages-styles: true | ||
- name: Build packages | ||
run: | | ||
NODE_ENV=production yarn --cwd packages/react build | ||
NODE_ENV=production yarn --cwd packages/styles build | ||
- run: echo "TODO: Publish Canary" |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,6 +4,7 @@ on: | |
pull_request: | ||
branches: | ||
- develop | ||
workflow_call: | ||
|
||
jobs: | ||
|
||
|