Skip to content

Commit 64cef4e

Browse files
committed
Update workflows and add new templates, libs, and tools
1 parent 55727ac commit 64cef4e

File tree

9 files changed

+73
-5
lines changed

9 files changed

+73
-5
lines changed

.github/workflows/deploy-docs.yml

Lines changed: 22 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,31 @@ jobs:
1818
- uses: actions/setup-node@v3
1919
with:
2020
node-version: 18
21-
cache: yarn
22-
21+
# cache: yarn
22+
23+
- uses: pnpm/action-setup@v3
24+
with:
25+
version: 8
26+
run_install: false
27+
28+
- name: Get pnpm store directory
29+
shell: bash
30+
run: |
31+
echo "STORE_PATH=$(pnpm store path --silent)" >> $GITHUB_ENV
32+
33+
- uses: actions/cache@v3
34+
name: Setup pnpm cache
35+
with:
36+
path: ${{ env.STORE_PATH }}
37+
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
38+
restore-keys: |
39+
${{ runner.os }}-pnpm-store-
40+
2341
- name: Install dependencies
24-
run: yarn install --frozen-lockfile
42+
run: pnpm install
2543

2644
- name: Build website
27-
run: yarn build
45+
run: pnpm run build
2846

2947
# Create CNAME in build folder
3048
- name: Copy CNAME to build folder

docs/README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,14 @@ Bạn có thể tham khảo thêm tại [pnstack](https://pnstack.com) và [pnst
1515
- Blockchain: `ethereum`, `solana`, `substrate`,...
1616
- Các dự án mã nguồn mở khác..
1717

18+
## Những thứ chúng tôi đang xây dựng
19+
20+
- [templates](templates): Là nhưng template mà pnstack xây dựng giúp bắt đầu một project một cách dễ dàng nhất
21+
- [tools](tools): Là những công cụ mà pnstack xây dựng
22+
- [libs](libs): Là những thư viện mà pnstack xây dựng
23+
24+
25+
1826
## Tham gia cùng chúng tôi
1927

2028
Bạn có thể tham gia slack cùng chúng tôi tại [đây](https://join.slack.com/t/pnstack/shared_invite/zt-27lkxql52-jxNY5IiGITOVCZZ27hlAcg). Rất mong được gặp bạn!

docusaurus.config.js

Lines changed: 30 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,33 @@ const config = {
6767
},
6868
};
6969
},
70+
[
71+
"@docusaurus/plugin-content-docs",
72+
{
73+
id: "templates",
74+
path: "./templates",
75+
routeBasePath: "/templates",
76+
sidebarPath: require.resolve("./sidebars.js"),
77+
},
78+
],
79+
[
80+
"@docusaurus/plugin-content-docs",
81+
{
82+
id: "libs",
83+
path: "libs",
84+
routeBasePath: "/libs",
85+
sidebarPath: require.resolve("./sidebars.js"),
86+
},
87+
],
88+
[
89+
"@docusaurus/plugin-content-docs",
90+
{
91+
id: "tools",
92+
path: "tools",
93+
routeBasePath: "/tools",
94+
sidebarPath: require.resolve("./sidebars.js"),
95+
},
96+
],
7097
],
7198

7299
themeConfig:
@@ -88,7 +115,9 @@ const config = {
88115
label: "Docs",
89116
},
90117
{ to: "/blog", label: "Blog", position: "left" },
91-
118+
{ to: "/templates", label: "Templates", position: "left" },
119+
{ to: "/libs", label: "Libs", position: "left" },
120+
{ to: "/tools", label: "Tools", position: "left" },
92121
{
93122
href: "https://github.com/pnstack",
94123
label: "GitHub",

libs/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# Libs

libs/react-native-table.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# React native table
2+
3+
https://github.com/pnstack/react-native-table
4+
File renamed without changes.

tools/README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Tools
2+
3+

tools/qr-tools.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# QR tools
2+
3+
https://github.com/pnstack/qr-tools
4+
5+
Đây là một công cụ giúp quét và giải mã qr sử dụng python

0 commit comments

Comments
 (0)