Skip to content

ci: convert circle jobs to github actions #42

ci: convert circle jobs to github actions

ci: convert circle jobs to github actions #42

Workflow file for this run

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
# 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
# TODO: Publish Canary