Skip to content
Draft
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
67 changes: 32 additions & 35 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,39 +3,36 @@ name: Build project + unit test
on: [push]

jobs:
build:
build:
runs-on: ubuntu-latest

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v1
- uses: actions/setup-node@v4
with:
node-version-file: .nvmrc
cache: 'npm'
- name: npm install (ci)
run: |
npm ci
- name: npm build
run: |
npm run build
- name: npm lint:i18n
run: |
npm run lint:i18n
- name: functions npm install (ci)
run: |
cd functions
npm ci
- name: npm test (Firestore rules and functions/)
run: |
npm run test
- name: build functions/
run: |
cd functions
npm run build
- name: run lighthouse ci
run: |
npm install -g @lhci/cli@0.14.x
lhci autorun --config=./lighthouse/lighthouserc.json
env:
LHCI_GITHUB_APP_TOKEN: ${{ secrets.LHCI_GITHUB_APP_TOKEN }}
steps:
- uses: actions/checkout@v1
- uses: actions/setup-node@v4
with:
node-version-file: .nvmrc
cache: 'npm'
- name: npm install (ci)
run: |
npm ci
- name: npm build
run: |
npm run build
- name: npm lint:i18n
run: |
npm run lint:i18n
- name: functions npm install (ci)
working-directory: ./functions
run: npm ci
- name: npm test (Firestore rules and functions/)
run: |
npm run test
- name: build functions/
working-directory: ./functions
run: npm run build
- name: run lighthouse ci
run: |
npm install -g @lhci/cli@0.14.x
lhci autorun --config=./lighthouse/lighthouserc.json
env:
LHCI_GITHUB_APP_TOKEN: ${{ secrets.LHCI_GITHUB_APP_TOKEN }}
4 changes: 0 additions & 4 deletions .hound.yml

This file was deleted.

2 changes: 1 addition & 1 deletion .storybook/main.js → .storybook/main.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ module.exports = {
'**/*.md',
],

addons: ['@storybook/addon-essentials', '@chromatic-com/storybook'],
addons: ['@chromatic-com/storybook', '@storybook/addon-docs'],
staticDirs: ['../public'],
framework: '@storybook/react-vite',

Expand Down
2 changes: 1 addition & 1 deletion .storybook/manager.js → .storybook/manager.cjs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { addons } from '@storybook/manager-api'
import { addons } from 'storybook/manager-api'
import theme from './theme.js'

addons.setConfig({
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion .storybook/theme.js → .storybook/theme.cjs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { create } from '@storybook/theming/create'
import { create } from 'storybook/theming/create'

export default create({
base: 'light',
Expand Down
24 changes: 24 additions & 0 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,30 @@
"label": "start:local",
"command": "npm",
"args": ["run", "start:local"]
},
{
"label": "test:functions",
"command": "npm",
"options": {
"cwd": "${workspaceFolder}/functions"
},
"args": ["run", "test"]
},
{
"label": "serve:functions",
"command": "npm",
"options": {
"cwd": "${workspaceFolder}/functions"
},
"args": ["run", "serve"]
},
{
"label": "build:functions",
"command": "npm",
"options": {
"cwd": "${workspaceFolder}/functions"
},
"args": ["run", "build"]
}
]
}
2 changes: 1 addition & 1 deletion docs/app/0-home.mdx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Meta, Markdown } from '@storybook/blocks';
import { Meta, Markdown } from '@storybook/addon-docs/blocks';

<Meta title="Documentation/Home" />

Expand Down
2 changes: 1 addition & 1 deletion docs/app/1-install.mdx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Meta } from '@storybook/blocks';
import { Meta } from '@storybook/addon-docs/blocks';

<Meta title="Documentation/Install" />

Expand Down
2 changes: 1 addition & 1 deletion docs/app/code-of-conduct.mdx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Meta } from '@storybook/blocks';
import { Meta } from '@storybook/addon-docs/blocks';

<Meta title="Documentation/Code of Conduct" />

Expand Down
2 changes: 1 addition & 1 deletion docs/app/contributing.mdx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Meta, Markdown } from '@storybook/blocks'
import { Meta, Markdown } from '@storybook/addon-docs/blocks'

<Meta title="Documentation/Contributing" />

Expand Down
2 changes: 1 addition & 1 deletion docs/app/license.mdx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Meta, Markdown } from '@storybook/blocks';
import { Meta, Markdown } from '@storybook/addon-docs/blocks';

<Meta title="Documentation/License" />

Expand Down
15 changes: 0 additions & 15 deletions functions/jest.config.js

This file was deleted.

Loading