Move agent to mac-silicon

This commit is contained in:
Hien To 2023-10-20 12:17:44 +07:00
parent 7c36e7e16b
commit 411c689f87
2 changed files with 2 additions and 4 deletions

View File

@ -15,7 +15,7 @@ on:
- "!plugins/*/package.json" - "!plugins/*/package.json"
jobs: jobs:
build: build:
runs-on: ubuntu-latest runs-on: mac-silicon
environment: production environment: production
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4

View File

@ -7,9 +7,7 @@
"module": "dist/cjs/module.js", "module": "dist/cjs/module.js",
"author": "Jan <service@jan.ai>", "author": "Jan <service@jan.ai>",
"license": "MIT", "license": "MIT",
"activationPoints": [ "activationPoints": ["init"],
"init"
],
"scripts": { "scripts": {
"build": "tsc -b ./config/tsconfig.esm.json && tsc -b ./config/tsconfig.cjs.json && webpack --config webpack.config.js", "build": "tsc -b ./config/tsconfig.esm.json && tsc -b ./config/tsconfig.cjs.json && webpack --config webpack.config.js",
"postinstall": "rimraf ./data-plugin*.tgz && npm run build", "postinstall": "rimraf ./data-plugin*.tgz && npm run build",