diff --git a/.github/workflows/javascript-build.yml b/.github/workflows/javascript-build.yml index 118c7cbb..6d084ba1 100644 --- a/.github/workflows/javascript-build.yml +++ b/.github/workflows/javascript-build.yml @@ -17,11 +17,19 @@ on: - 'main' paths: - 'Source/**' + - 'package.json' + - 'rollup.config.mjs' + - 'yarn.lock' + - '.github/workflows/javascript-build.yml' pull_request: branches: - '**' paths: - 'Source/**' + - 'package.json' + - 'rollup.config.mjs' + - 'yarn.lock' + - '.github/workflows/javascript-build.yml' permissions: contents: read @@ -58,6 +66,9 @@ jobs: export NODE_OPTIONS="--max-old-space-size=4096" yarn ci + - name: Build Storybook + run: yarn workspace @cratis/components build-storybook + # Builds the artifact that actually ships to npm (the `prepare` script: tsc -b + # rollup + copy-css) and loads every subpath of the `exports` map from it. # @@ -113,7 +124,7 @@ jobs: strategy: fail-fast: false matrix: - arc-version: ['20.3.1', '21.19.4', '22.0.1'] + arc-version: ['20.3.1', '21.19.4', '22.1.0'] steps: - name: Checkout code diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 63eaa0c3..c3f12820 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -36,8 +36,6 @@ on: # branch that is released. branches: - main - paths: - - main permissions: contents: write