-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: merge pull request #28 from
threeal/use-yarn
Use Yarn
- Loading branch information
Showing
541 changed files
with
25,368 additions
and
6,228 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,3 @@ | ||
/.yarn/** linguist-vendored | ||
/.yarn/releases/* binary | ||
/.pnp.* binary linguist-generated |
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 |
---|---|---|
|
@@ -12,32 +12,28 @@ jobs: | |
- name: Checkout | ||
uses: actions/[email protected] | ||
|
||
- name: Cache deps | ||
uses: actions/[email protected] | ||
with: | ||
path: node_modules | ||
key: node-${{ runner.os }}-${{ hashFiles('package-lock.json') }} | ||
|
||
- name: Install deps | ||
run: npm install | ||
run: yarn install | ||
|
||
- name: Check format | ||
run: npm run format | ||
run: yarn format | ||
|
||
- name: Check lint | ||
run: npm run lint | ||
run: yarn lint | ||
|
||
- name: Clean Project | ||
run: npm run clean | ||
run: yarn clean | ||
|
||
- name: Build project | ||
run: npm run build | ||
run: yarn build | ||
|
||
- name: Test project | ||
run: npm test | ||
run: yarn test | ||
|
||
- name: Run Project | ||
run: dist/google-rank.js --help | ||
env: | ||
NODE_OPTIONS: --require ${{ github.workspace }}/.pnp.cjs | ||
|
||
- name: Check diff | ||
run: git diff --exit-code HEAD |
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,9 +1,15 @@ | ||
.* | ||
!.eslint* | ||
!.git* | ||
!.pnp.* | ||
!.prettier* | ||
!.yarn* | ||
|
||
*.log | ||
|
||
.yarn/* | ||
!.yarn/cache/ | ||
!.yarn/releases/ | ||
|
||
coverage/ | ||
node_modules/ |
Oops, something went wrong.