Skip to content
Merged
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
31 changes: 0 additions & 31 deletions .github/actions/setup/action.yml

This file was deleted.

17 changes: 14 additions & 3 deletions .github/workflows/deploy-storybook.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ concurrency: ${{ github.workflow }}-${{ github.ref }}

permissions:
pages: write # to deploy to Pages
contents: read
id-token: write

jobs:
Expand All @@ -23,10 +24,20 @@ jobs:
url: ${{ steps.deployment.outputs.page_url }}

steps:
- name: Setup workspace
uses: plexinc/react-lightning/.github/actions/setup@main
- uses: actions/checkout@v4
with:
npm-token: ${{ secrets.NPM_TOKEN }}
fetch-depth: 0
persist-credentials: false

- uses: pnpm/action-setup@v4

- uses: actions/setup-node@v4
with:
node-version-file: package.json
cache: "pnpm"

- name: Install dependencies
run: pnpm install --frozen-lockfile

- name: Build Storybook
run: pnpm run build:storybook
Expand Down
18 changes: 15 additions & 3 deletions .github/workflows/release-packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ on:
concurrency: ${{ github.workflow }}-${{ github.ref }}

permissions:
contents: read
id-token: write

jobs:
Expand All @@ -23,10 +24,21 @@ jobs:
published: ${{ steps.changesets.outputs.published }}

steps:
- name: Setup workspace
uses: plexinc/react-lightning/.github/actions/setup@main
- uses: actions/checkout@v4
with:
npm-token: ${{ secrets.NPM_TOKEN }}
fetch-depth: 0
persist-credentials: false

- uses: pnpm/action-setup@v4

- uses: actions/setup-node@v4
with:
node-version-file: package.json
cache: "pnpm"

- name: Install dependencies
run: pnpm install --frozen-lockfile
shell: bash

- name: Create release pull request or publish
id: changesets
Expand Down