File tree Expand file tree Collapse file tree 2 files changed +36
-4
lines changed Expand file tree Collapse file tree 2 files changed +36
-4
lines changed Original file line number Diff line number Diff line change 8
8
- main
9
9
paths :
10
10
- ' docs/**'
11
+ - ' .github/workflows/docs.yml'
11
12
12
13
jobs :
13
14
deploy_live_website :
14
15
runs-on : ubuntu-latest
15
16
steps :
16
- - uses : actions/checkout@v2
17
- # Add any build steps here. For example:
18
- - run : pnpm i && pnpm run docs:build
17
+ - uses : actions/checkout@v3
18
+
19
+ - name : Install Node.js
20
+ uses : actions/setup-node@v3
21
+ with :
22
+ node-version : 16
23
+
24
+ - uses : pnpm/action-setup@v2
25
+ name : Install pnpm
26
+ id : pnpm-install
27
+ with :
28
+ version : 7
29
+ run_install : false
30
+
31
+ - name : Get pnpm store directory
32
+ id : pnpm-cache
33
+ shell : bash
34
+ run : |
35
+ echo "STORE_PATH=$(pnpm store path)" >> $GITHUB_OUTPUT
36
+
37
+ - uses : actions/cache@v3
38
+ name : Setup pnpm cache
39
+ with :
40
+ path : ${{ steps.pnpm-cache.outputs.STORE_PATH }}
41
+ key : ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
42
+ restore-keys : |
43
+ ${{ runner.os }}-pnpm-store-
44
+
45
+ - name : Install dependencies
46
+ run : pnpm install
47
+
48
+ - name : Build docs
49
+ run : pnpm run build:docs
50
+
19
51
- uses : FirebaseExtended/action-hosting-deploy@v0
20
52
with :
21
53
repoToken : ' ${{ secrets.GITHUB_TOKEN }}'
Original file line number Diff line number Diff line change 2
2
"name" : " vuefire" ,
3
3
"version" : " 3.0.0-alpha.5" ,
4
4
"description" : " Official Firebase bindings for Vue.js" ,
5
- "packageManager" : " pnpm@7.12 .2" ,
5
+ "packageManager" : " pnpm@7.14 .2" ,
6
6
"unpkg" : " dist/index.iife.js" ,
7
7
"jsdelivr" : " dist/index.iife.js" ,
8
8
"type" : " module" ,
You can’t perform that action at this time.
0 commit comments