Merge remote-tracking branch 'origin' into use-github-actions #40
Workflow file for this run
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
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" |