Skip to content

Commit

Permalink
Merge branch 'v0.2.0' into fix-watt-threshold
Browse files Browse the repository at this point in the history
  • Loading branch information
flixlix authored Apr 14, 2024
2 parents b4420ca + 2e2e2bc commit 9f53981
Show file tree
Hide file tree
Showing 20 changed files with 5,412 additions and 11,545 deletions.
38 changes: 38 additions & 0 deletions .github/workflows/format-check.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: Format Check

on:
push:
branches:
- "*"

jobs:
format-check:
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v2

- name: Cache pnpm modules
id: cache-modules
uses: actions/cache@v2
with:
path: |
~/.pnpm-store
**/node_modules
key: ${{ runner.os }}-${{ hashFiles('pnpm-lock.yaml', 'rollup.config.js') }}
restore-keys: |
${{ runner.os }}-
- name: Setup pnpm
uses: pnpm/[email protected]
with:
version: latest
run_install: false

- name: Install Packages
if: steps.cache-modules.outputs.cache-hit != 'true'
run: pnpm install --no-frozen-lockfile

- name: Format Check
run: pnpm format:check
38 changes: 38 additions & 0 deletions .github/workflows/typecheck.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: Typecheck

on:
push:
branches:
- '*'

jobs:
typecheck:
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v2

- name: Cache pnpm modules
id: cache-modules
uses: actions/cache@v2
with:
path: |
~/.pnpm-store
**/node_modules
key: ${{ runner.os }}-${{ hashFiles('pnpm-lock.yaml', 'rollup.config.js') }}
restore-keys: |
${{ runner.os }}-
- name: Setup pnpm
uses: pnpm/[email protected]
with:
version: latest
run_install: false

- name: Install Packages
if: steps.cache-modules.outputs.cache-hit != 'true'
run: pnpm install --no-frozen-lockfile

- name: Typecheck
run: pnpm typecheck
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,4 @@ _site/

storybook-static
custom-elements.json
pnpm-lock.yaml
# pnpm-lock.yaml
Loading

0 comments on commit 9f53981

Please sign in to comment.