Skip to content

Commit

Permalink
chore: merge pull request #28 from threeal/use-yarn
Browse files Browse the repository at this point in the history
Use Yarn
  • Loading branch information
threeal authored Aug 1, 2023
2 parents 40936e8 + 87a4b68 commit 498f137
Show file tree
Hide file tree
Showing 541 changed files with 25,368 additions and 6,228 deletions.
3 changes: 3 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
/.yarn/** linguist-vendored
/.yarn/releases/* binary
/.pnp.* binary linguist-generated
20 changes: 8 additions & 12 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
6 changes: 6 additions & 0 deletions .gitignore
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/
17,209 changes: 17,209 additions & 0 deletions .pnp.cjs

Large diffs are not rendered by default.

Loading

0 comments on commit 498f137

Please sign in to comment.