Skip to content

feat(react,styles): add grid layout for table component (#1748) #356

feat(react,styles): add grid layout for table component (#1748)

feat(react,styles): add grid layout for table component (#1748) #356

Workflow file for this run

name: Release
on:
push:
branches:
- develop
- master
jobs:
tests:
uses: ./.github/workflows/tests.yml
publish:
if: github.ref == 'refs/heads/master'
needs: [tests]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
ref: 'master'
- 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
- name: Publish @deque/cauldron-styles
run: |
cd packages/styles
npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}
- name: Publish @deque/cauldron-react
run: |
cd packages/react
npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}
canary:
if: github.ref == 'refs/heads/develop'
needs: [tests]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
ref: 'develop'
- 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
- name: Publish @deque/cauldron-styles
run: |
cd packages/styles
PACKAGE_VERSION="$(npm pkg get version | tr -d \")"
npm version "$PACKAGE_VERSION-canary.${GITHUB_SHA:0:8}" --allow-same-version --no-git-tag-version
npm publish --tag=next
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}
- name: Publish @deque/cauldron-react
run: |
cd packages/react
PACKAGE_VERSION="$(npm pkg get version | tr -d \")"
npm version "$PACKAGE_VERSION-canary.${GITHUB_SHA:0:8}" --allow-same-version --no-git-tag-version
npm publish --tag=next
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}