fix: build extension action

This commit is contained in:
Steven 2023-08-24 21:04:58 +08:00
parent efc3815edf
commit bdf7f327d2
4 changed files with 25 additions and 0 deletions

View File

@ -42,6 +42,8 @@ jobs:
node-version: "18" node-version: "18"
cache: pnpm cache: pnpm
cache-dependency-path: "frontend/extension/pnpm-lock.yaml" cache-dependency-path: "frontend/extension/pnpm-lock.yaml"
- run: pnpm install
working-directory: frontend/types
- run: pnpm install - run: pnpm install
working-directory: frontend/extension working-directory: frontend/extension
- name: Run extension build - name: Run extension build

2
.gitignore vendored
View File

@ -8,3 +8,5 @@ tmp
build build
.DS_Store .DS_Store
node_modules

View File

@ -0,0 +1,5 @@
{
"dependencies": {
"@bufbuild/protobuf": "^1.3.0"
}
}

16
frontend/types/pnpm-lock.yaml generated Normal file
View File

@ -0,0 +1,16 @@
lockfileVersion: '6.1'
settings:
autoInstallPeers: true
excludeLinksFromLockfile: false
dependencies:
'@bufbuild/protobuf':
specifier: ^1.3.0
version: 1.3.0
packages:
/@bufbuild/protobuf@1.3.0:
resolution: {integrity: sha512-G372ods0pLt46yxVRsnP/e2btVPuuzArcMPFpIDeIwiGPuuglEs9y75iG0HMvZgncsj5TvbYRWqbVyOe3PLCWQ==}
dev: false