Skip to content

Vertically align cell contents in DataTable #11051

Vertically align cell contents in DataTable

Vertically align cell contents in DataTable #11051

Workflow file for this run

name: Consumer test
on:
push: {branches: main}
pull_request:
workflow_dispatch:
jobs:
consumer-test:
name: Consumer test
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: 18
cache: npm
- name: Install dependencies
run: npm ci
- name: Build
run: npm run build
# Output the artifact as a tarball in `consumer-test`. Write the
# information for this package in `consumer-test/pack.json` so we can read
# from it later to install the package
- name: Create a tarball for the package
run: npm pack --pack-destination consumer-test --json > consumer-test/pack.json
- name: Clean package directory
run: |
npm run clean
rm -rf node_modules
- name: Test
id: test
working-directory: consumer-test
run: |
# Read the filename for the tarball from `pack.json`
npm install $(jq -r '.[0].filename' pack.json)
npm install
npm run check
- name: Add annotation
if: failure() && steps.test.conclusion == 'failure'
run: |
echo "::error file=tsconfig.build.json::Test package could not build. See https://github.com/primer/react/blob/main/consumer-test"