Skip to content

Commit

Permalink
test workflow run
Browse files Browse the repository at this point in the history
  • Loading branch information
scurker committed Nov 9, 2023
1 parent 0fe38d1 commit fb92eab
Show file tree
Hide file tree
Showing 4 changed files with 46 additions and 0 deletions.
File renamed without changes.
45 changes: 45 additions & 0 deletions .github/workflows/release.yml
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.
1 change: 1 addition & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on:
pull_request:
branches:
- develop
workflow_call:

jobs:

Expand Down

0 comments on commit fb92eab

Please sign in to comment.