-
-
Notifications
You must be signed in to change notification settings - Fork 89
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #538 from flixlix/build-npm-to-pnpm
build: 🏗️ new package manager
- Loading branch information
Showing
21 changed files
with
5,392 additions
and
11,521 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -27,4 +27,4 @@ _site/ | |
|
||
storybook-static | ||
custom-elements.json | ||
pnpm-lock.yaml | ||
# pnpm-lock.yaml |
Oops, something went wrong.