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
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ root = true
[*]
charset = utf-8
indent_style = space
indent_size = 4
indent_size = 2
insert_final_newline = true
trim_trailing_whitespace = true

Expand Down
1 change: 0 additions & 1 deletion .github/workflows/auto-assign-by-label.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ permissions:
contents: read
issues: write
pull-requests: write


jobs:
assign:
Expand Down
86 changes: 43 additions & 43 deletions .github/workflows/deploy-pages.yml
Original file line number Diff line number Diff line change
@@ -1,51 +1,51 @@
name: GitHub Pages

on:
push:
branches:
- main
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
push:
branches:
- main
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
permissions:
contents: read
pages: write
id-token: write
contents: read
pages: write
id-token: write

jobs:
deploy:
runs-on: ubuntu-latest
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- name: Checkout 🛎️
uses: actions/checkout@v4

- name: Setup Node version 🍀
uses: actions/setup-node@v4
with:
node-version: '20'
cache: 'npm'

- name: Install dependencies 📦
run: npm ci

- name: Configure GitHub Pages ⚙️
uses: actions/configure-pages@v5

- name: Build Storybook 🛠️
run: |
npm run build:storybook
env:
PUBLIC_URL: "/${{ github.event.repository.name }}/"

- name: Upload artifacts 📁
uses: actions/upload-pages-artifact@v3
with:
path: storybook-static

- name: Deploy to GitHub Pages 🚀
id: deployment
uses: actions/deploy-pages@v4
deploy:
runs-on: ubuntu-latest
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- name: Checkout 🛎️
uses: actions/checkout@v4

- name: Setup Node version 🍀
uses: actions/setup-node@v4
with:
node-version: '20'
cache: 'npm'

- name: Install dependencies 📦
run: npm ci

- name: Configure GitHub Pages ⚙️
uses: actions/configure-pages@v5

- name: Build Storybook 🛠️
run: |
npm run build:storybook
env:
PUBLIC_URL: '/${{ github.event.repository.name }}/'

- name: Upload artifacts 📁
uses: actions/upload-pages-artifact@v3
with:
path: storybook-static

- name: Deploy to GitHub Pages 🚀
id: deployment
uses: actions/deploy-pages@v4
4 changes: 2 additions & 2 deletions .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ jobs:
registry-url: https://registry.npmjs.org/
- name: Update npm
run: npm install -g npm@latest
- run: npm ci
- run: npm ci --production
- uses: reedyuk/npm-version@1.1.1
with:
version: ${{github.ref_name}}
- run: npm run build-themes
- run: npm run copy:dist
- run: npm publish
Loading