Skip to content

Commit

Permalink
migrate to pnpm
Browse files Browse the repository at this point in the history
  • Loading branch information
icecream17 committed Sep 24, 2021
1 parent aba8184 commit 73dea0d
Show file tree
Hide file tree
Showing 8 changed files with 11,453 additions and 37,709 deletions.
12 changes: 9 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,20 @@ jobs:

steps:
- uses: actions/checkout@v2

- name: Setup pnpm
uses: pnpm/action-setup@646cdf48217256a3d0b80361c5a50727664284f2

- name: Use Node.js
uses: actions/setup-node@v2
with:
node-version: '16'
check-latest: false
- run: npm ci
- run: npm run build --if-present
- run: npm run test-with-coverage
cache: pnpm

- run: pnpm install
- run: pnpm run build --if-present
- run: pnpm run test-with-coverage
if: "!contains(github.event.head_commit.message, 'skip test')"

- name: Deploy to github pages
Expand Down
6 changes: 6 additions & 0 deletions Styleguide.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# Styleguide

1. Use the `Loading` class for lazy loaded placeholders.
2. If you need to update a component's state based on the previous state, use callbacks.
3. There's a top-down structure. Children should not know anything about their parents.
- Methods will be so useful when I extract `Sudoku` somewhere else
Loading

0 comments on commit 73dea0d

Please sign in to comment.