Skip to content

Commit

Permalink
fix: fixing the build pipelines
Browse files Browse the repository at this point in the history
  • Loading branch information
benfdking committed Sep 16, 2024
1 parent fa00312 commit 1ad6409
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
1 change: 1 addition & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ jobs:
node-version-file: ".nvmrc"
cache: "pnpm"
- run: pnpm install --frozen-lockfile
- uses: dtolnay/rust-toolchain@nightly
- run: curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh
- run: cd editors/code && pnpm run package
- name: Publish GitHub release
Expand Down
6 changes: 3 additions & 3 deletions editors/code/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@
"browser": "./dist/browser.js",
"scripts": {
"build": "pnpm run build:wasm_lsp && pnpm run check-types",
"vscode:prepublish": "npm run lint && npm run build:wasm_lsp-release && npm run check-types && node esbuild.js --production",
"compile": "npm run check-types && npm run lint && node esbuild.js",
"vscode:prepublish": "pnpm run lint && pnpm run build:wasm_lsp-release && pnpm run check-types && node esbuild.js --production",
"compile": "pnpm run check-types && npm run lint && node esbuild.js",
"watch": "npm-run-all -p watch:*",
"watch:esbuild": "node esbuild.js --watch",
"watch:tsc": "tsc --noEmit --watch --project tsconfig.json",
Expand All @@ -32,7 +32,7 @@
"build:wasm_lsp-release": "env-var wasm-pack build --release --target web ../../crates/lsp --out-dir $INIT_CWD/dist",
"compile-tests": "tsc -p . --outDir out",
"watch-tests": "tsc -p . -w --outDir out",
"pretest": "npm run compile-tests && npm run compile && npm run lint",
"pretest": "pnpm run compile-tests && pnpm run compile && npm run lint",
"check-types": "tsc --noEmit",
"lint": "eslint src --max-warnings 0",
"test": "vscode-test",
Expand Down
3 changes: 2 additions & 1 deletion editors/code/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,6 @@
"noImplicitReturns": true /* Report error when not all code paths in function return a value. */,
"noFallthroughCasesInSwitch": true /* Report errors for fallthrough cases in switch statement. */,
"noUnusedParameters": true /* Report errors on unused parameters. */
}
},
"ignore": ["dist"]
}

0 comments on commit 1ad6409

Please sign in to comment.