-
-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
10 changed files
with
6,796 additions
and
26,230 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 |
---|---|---|
|
@@ -15,36 +15,28 @@ jobs: | |
- name: Checkout repository | ||
uses: actions/checkout@v2 | ||
id: checkout | ||
- name: Installing pnpm | ||
uses: pnpm/[email protected] | ||
with: | ||
version: 7 | ||
- name: Use Node.js ${{ matrix.node-version }} | ||
uses: actions/setup-node@v1 | ||
uses: actions/setup-node@v2 | ||
with: | ||
node-version: ${{ matrix.node-version }} | ||
- name: Cache node_modules | ||
uses: actions/cache@v2 | ||
id: cache | ||
env: | ||
cache-name: cache-node-modules | ||
with: | ||
# npm cache files are stored in `~/.npm` on Linux/macOS | ||
path: | | ||
**/node_modules | ||
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }} | ||
restore-keys: | | ||
${{ runner.os }}-build-${{ env.cache-name }}- | ||
cache: 'pnpm' | ||
- name: Installing packages...🏃♂️ 🏃♂️ 🏃♂️ | ||
if: steps.cache.outputs.cache-hit != 'true' | ||
run: npm ci | ||
run: pnpm install | ||
- name: Running typecheck... 🩺 🔬 🔭 | ||
run: npm run code:typecheck | ||
run: pnpm code:typecheck | ||
- name: Running eslint... 👀 | ||
run: npm run code:lint | ||
run: pnpm code:lint | ||
- name: Running unit test... 🤞 🚑 💊 | ||
run: npm run test:unit -- --runInBand --coverage | ||
run: pnpm test:unit --runInBand --coverage | ||
- name: Trigger codecov | ||
run: bash <(curl -s https://codecov.io/bash) | ||
- name: Run build Chrome | ||
run: npm run app:chrome | ||
run: pnpm app:chrome | ||
- name: Run build Firefox | ||
run: npm run app:firefox | ||
run: pnpm app:firefox | ||
- name: Run build Edge | ||
run: npm run app:edge | ||
run: pnpm app:edge |
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
#!/usr/bin/env sh | ||
. "$(dirname -- "$0")/_/husky.sh" | ||
|
||
npm run lint-staged | ||
pnpm lint-staged |
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
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 @@ | ||
v14.20.0 |
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
Oops, something went wrong.