Skip to content

Commit 1de1d25

Browse files
committed
Add package lock
1 parent 4284f55 commit 1de1d25

File tree

5 files changed

+15891
-7
lines changed

5 files changed

+15891
-7
lines changed

.github/workflows/demo.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,11 @@ jobs:
1212
- name: Checkout Git repository
1313
uses: actions/checkout@v2
1414

15-
- name: Install plugin dependencies
16-
run: npm install
15+
- name: Install dependencies
16+
run: npm install && cd demo && npm install
1717

18-
- name: Build and link the plugin
19-
run: npm run build && npm link
18+
- name: Build the plugin
19+
run: npm run build
2020

2121
- name: Build and Deploy
2222
uses: jenkey2011/vuepress-deploy@master
@@ -27,5 +27,5 @@ jobs:
2727
ACCESS_TOKEN: ${{ secrets.ACCESS_TOKEN }}
2828
CNAME: code-switcher.padarom.xyz
2929
TARGET_BRANCH: gh-pages
30-
BUILD_SCRIPT: npm run build --workspace @vuepress-plugin-code-switcher/demo
31-
BUILD_DIR: src/.vuepress/dist
30+
BUILD_SCRIPT: npm run build:demo
31+
BUILD_DIR: demo/src/.vuepress/dist

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
node_modules
22
yarn.lock
3-
package-lock.json
43
demo/src/.vuepress/dist
54
demo/src/.vuepress/.cache
65
demo/src/.vuepress/.temp

0 commit comments

Comments
 (0)