Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .github/workflows/release-draft-create.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ on:
paths:
- 'package.json'

permissions:
contents: read

jobs:
build:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -100,6 +103,9 @@ jobs:

publish_types:
needs: build
permissions:
contents: read
id-token: write
Comment thread
coderabbitai[bot] marked this conversation as resolved.
Resolved
uses: ./.github/workflows/release-npm-types.yaml
with:
version: ${{ needs.build.outputs.version }}
Expand Down
9 changes: 7 additions & 2 deletions .github/workflows/release-npm-types.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ jobs:
runs-on: ubuntu-latest
permissions:
contents: read
id-token: write
Comment thread
mattmillerai marked this conversation as resolved.
Resolved
Comment thread
mattmillerai marked this conversation as resolved.
Resolved
Comment thread
mattmillerai marked this conversation as resolved.
Resolved
steps:
- name: Validate inputs
shell: bash
Expand Down Expand Up @@ -74,6 +75,7 @@ jobs:
with:
ref: ${{ steps.resolve_ref.outputs.ref }}
fetch-depth: 1
persist-credentials: false

- name: Install pnpm
uses: pnpm/action-setup@0977fd99725f1db4007ccb2928dbb4e90d06cc86 # v6.0.10
Expand All @@ -86,10 +88,13 @@ jobs:
registry-url: https://registry.npmjs.org

- name: Install dependencies
run: pnpm install --frozen-lockfile
run: pnpm install --frozen-lockfile --ignore-scripts
env:
PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD: '1'

- name: Build workspace packages
run: pnpm build:packages

- name: Build types
run: pnpm build:types

Expand Down Expand Up @@ -152,7 +157,7 @@ jobs:

- name: Publish package
if: steps.check_npm.outputs.exists == 'false'
run: pnpm publish --access public --tag "$DIST_TAG" --no-git-checks
run: pnpm publish --access public --tag "$DIST_TAG" --no-git-checks --ignore-scripts
Comment thread
coderabbitai[bot] marked this conversation as resolved.
Resolved
working-directory: dist
env:
DIST_TAG: ${{ steps.dist_tag.outputs.tag }}
Expand Down
6 changes: 5 additions & 1 deletion tsconfig.types.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,10 @@
"dist",
"**/*.vue",
"**/*.spec.ts",
"**/*.test.ts"
"**/*.test.ts",
"**/*.stories.ts",
"**/__mocks__/**",
"**/__fixtures__/**",
Comment thread
mattmillerai marked this conversation as resolved.
Resolved
"src/storybook/**"
]
}
Loading