Skip to content

Commit

Permalink
chore: use yarn
Browse files Browse the repository at this point in the history
  • Loading branch information
exuanbo committed Aug 3, 2023
1 parent bd577ef commit 4a94f7f
Show file tree
Hide file tree
Showing 8 changed files with 9,724 additions and 12,133 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,10 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: "18"
check-latest: true
cache: "npm"
- run: npm ci
- run: npm run build
node-version-file: .nvmrc
cache: yarn
- run: yarn install
- run: yarn build
- uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
Expand Down
9 changes: 4 additions & 5 deletions .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: "18"
check-latest: true
cache: "npm"
- run: npm ci
- run: npm test
node-version-file: .nvmrc
cache: yarn
- run: yarn install
- run: yarn test
1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
18
874 changes: 874 additions & 0 deletions .yarn/releases/yarn-3.6.1.cjs

Large diffs are not rendered by default.

5 changes: 5 additions & 0 deletions .yarnrc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
nmMode: hardlinks-local

nodeLinker: node-modules

yarnPath: .yarn/releases/yarn-3.6.1.cjs
Loading

0 comments on commit 4a94f7f

Please sign in to comment.