Skip to content

Commit

Permalink
fix: ci
Browse files Browse the repository at this point in the history
  • Loading branch information
hanabi1224 committed Jan 16, 2024
1 parent 8238aed commit 887344f
Show file tree
Hide file tree
Showing 8 changed files with 3,706 additions and 3,095 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -152,9 +152,9 @@ jobs:
target: wasm32-unknown-unknown
override: true
- run: curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh
- run: lerna bootstrap
- run: lerna run build
- run: lerna run lint
- run: pnpm -r i
- run: pnpm -r run build
- run: pnpm -r run lint
- uses: actions/upload-artifact@v3
with:
name: example-web
Expand Down
27 changes: 14 additions & 13 deletions example/web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,30 +6,31 @@
"start": "parcel serve index.html --open",
"build:wasm": "wasm-pack build -t web --out-name annoy -d example/web/pkg/ ./../../",
"build:web": "parcel build *.html --no-source-maps",
"build": "yarn clean && yarn build:wasm && yarn build:web",
"build": "pnpm run clean && pnpm run build:wasm && pnpm run build:web",
"clean": "rimraf dist",
"lint:js": "eslint --ext \".js,.ts,.vue\" --fix --ignore-path .gitignore .",
"lint:style": "stylelint \"**/*.{vue,css}\" --fix --ignore-path .gitignore",
"lint": "yarn lint:js && yarn lint:style"
"lint": "pnpm run lint:js && pnpm run lint:style"
},
"dependencies": {
"buffer": "^6.0.3",
"vue": "^3.4.3"
"vue": "^3.4.14"
},
"devDependencies": {
"@parcel/transformer-raw": "^2.10.3",
"@parcel/transformer-sass": "^2.10.3",
"@parcel/transformer-vue": "^2.10.3",
"@parcel/config-default": "^2.11.0",
"@parcel/transformer-raw": "^2.11.0",
"@parcel/transformer-sass": "^2.11.0",
"@parcel/transformer-vue": "^2.11.0",
"eslint": "^8.56.0",
"eslint-plugin-prettier": "^5.1.2",
"eslint-plugin-vue": "^9.19.2",
"parcel": "^2.10.3",
"postcss": "^8.4.32",
"postcss-html": "^1.5.0",
"eslint-plugin-prettier": "^5.1.3",
"eslint-plugin-vue": "^9.20.1",
"parcel": "^2.11.0",
"postcss": "^8.4.33",
"postcss-html": "^1.6.0",
"rimraf": "^5.0.5",
"sass": "^1.69.6",
"sass": "^1.69.7",
"stylelint": "^16.1.0",
"stylelint-config-recommended-vue": "^1.5.0",
"typescript": "^5.3.3"
}
}
}
Loading

0 comments on commit 887344f

Please sign in to comment.