Skip to content

Commit

Permalink
Merge pull request #5 from yeyan1996/feat-ci
Browse files Browse the repository at this point in the history
feat: update
  • Loading branch information
yeyan1996 committed Sep 12, 2024
2 parents a2cb030 + c35cbb6 commit 9115338
Show file tree
Hide file tree
Showing 5 changed files with 3,927 additions and 5,720 deletions.
20 changes: 11 additions & 9 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
# Runs on pushes targeting the `main` branch. Change this to `master` if you're
# using the `master` branch as the default branch.
push:
branches: [master]
branches: [main, feat-ci]

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
Expand All @@ -32,23 +32,25 @@ jobs:
uses: actions/checkout@v4
with:
fetch-depth: 0 # Not needed if lastUpdated is not enabled
# - uses: pnpm/action-setup@v3 # Uncomment this if you're using pnpm
# - uses: oven-sh/setup-bun@v1 # Uncomment this if you're using Bun

- name: Setup Node
uses: actions/setup-node@v4
uses: pnpm/action-setup@v4.0.0
with:
node-version: 20
cache: npm # or pnpm / yarn
cache: pnpm
# Version of pnpm to install
version: 9 # optional


- name: Setup Pages
uses: actions/configure-pages@v4
- name: Install dependencies
run: npm ci # or pnpm install / yarn install / bun install
run: pnpm install
- name: Build with VitePress
run: npm run docs:build # or pnpm docs:build / yarn docs:build / bun run docs:build
run: pnpm docs:build
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: docs/.vitepress/dist
path: .vitepress/dist

# Deployment job
deploy:
Expand Down
2 changes: 1 addition & 1 deletion README-zh_CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

[English](README.md) | 中文

[博客](https://juejin.im/post/5cef46226fb9a07eaf2b7516)
[网站](https://yeyan1996.github.io/practical-javascript/README-zh_CN.html) | [博客](https://juejin.im/post/5cef46226fb9a07eaf2b7516)

* [x] 数组Api的内部原理
* [x] reduce实现数组的Api
Expand Down
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@

English | [中文](README-zh_CN.md)

[Blog](https://medium.com/javascript-in-plain-english/28-javascript-skills-a-qualified-intermediate-front-end-engineer-needs-to-master-ffed93de3f38)
[Website](https://yeyan1996.github.io/practical-javascript/) | [Blog](https://medium.com/javascript-in-plain-english/28-javascript-skills-a-qualified-intermediate-front-end-engineer-needs-to-master-ffed93de3f38)



* [x] Array Api
* [x] Use reduce to implement the array Api
Expand Down
Loading

0 comments on commit 9115338

Please sign in to comment.