mirror of
https://github.com/Automattic/harper.git
synced 2025-08-04 18:48:02 +00:00
build: setup corepack for ci
This commit is contained in:
parent
a6d9c242fb
commit
092c1d10e5
8 changed files with 14 additions and 2 deletions
2
.github/dependabot.yml
vendored
2
.github/dependabot.yml
vendored
|
@ -5,6 +5,6 @@ updates:
|
|||
schedule:
|
||||
interval: "weekly"
|
||||
- package-ecosystem: "npm"
|
||||
directory: "/packages"
|
||||
directory: "/"
|
||||
schedule:
|
||||
interval: "weekly"
|
||||
|
|
2
.github/workflows/build_web.yml
vendored
2
.github/workflows/build_web.yml
vendored
|
@ -16,6 +16,8 @@ jobs:
|
|||
uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version-file: ".node-version"
|
||||
- name: Enable Corepack
|
||||
run: corepack enable
|
||||
- name: Retrieve version after install
|
||||
id: nodenv
|
||||
run: echo "node-version=$(node -v | sed 's/^v//')" >> $GITHUB_OUTPUT
|
||||
|
|
2
.github/workflows/package_vscode_plugin.yml
vendored
2
.github/workflows/package_vscode_plugin.yml
vendored
|
@ -36,6 +36,8 @@ jobs:
|
|||
- uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version-file: ".node-version"
|
||||
- name: Enable Corepack
|
||||
run: corepack enable
|
||||
- name: Build harper-ls
|
||||
uses: houseabsolute/actions-rust-cross@v1
|
||||
with:
|
||||
|
|
2
.github/workflows/package_wp_plugin.yml
vendored
2
.github/workflows/package_wp_plugin.yml
vendored
|
@ -19,6 +19,8 @@ jobs:
|
|||
- uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version-file: ".node-version"
|
||||
- name: Enable Corepack
|
||||
run: corepack enable
|
||||
- name: Install `pandoc`
|
||||
run: sudo apt-get update && sudo apt-get install pandoc -y
|
||||
- name: Install `wasm-pack`
|
||||
|
|
2
.github/workflows/precommit.yml
vendored
2
.github/workflows/precommit.yml
vendored
|
@ -21,6 +21,8 @@ jobs:
|
|||
- uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version-file: ".node-version"
|
||||
- name: Enable Corepack
|
||||
run: corepack enable
|
||||
- name: Install `pandoc`
|
||||
run: sudo apt-get update && sudo apt-get install pandoc -y
|
||||
- name: Install `wasm-pack`
|
||||
|
|
2
.github/workflows/release_vscode_plugin.yml
vendored
2
.github/workflows/release_vscode_plugin.yml
vendored
|
@ -34,6 +34,8 @@ jobs:
|
|||
- uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version-file: ".node-version"
|
||||
- name: Enable Corepack
|
||||
run: corepack enable
|
||||
- name: Build harper-ls
|
||||
uses: houseabsolute/actions-rust-cross@v1
|
||||
with:
|
||||
|
|
2
.github/workflows/release_wp_plugin.yml
vendored
2
.github/workflows/release_wp_plugin.yml
vendored
|
@ -17,6 +17,8 @@ jobs:
|
|||
- uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version-file: ".node-version"
|
||||
- name: Enable Corepack
|
||||
run: corepack enable
|
||||
- name: Install `pandoc`
|
||||
run: sudo apt-get update && sudo apt-get install pandoc -y
|
||||
- name: Install `wasm-pack`
|
||||
|
|
2
justfile
2
justfile
|
@ -1,7 +1,7 @@
|
|||
# Format entire project
|
||||
format:
|
||||
cargo fmt
|
||||
cd "{{justfile_directory()}}/packages"; pnpm check
|
||||
pnpm check
|
||||
|
||||
# Build the WebAssembly for a specific target (usually either `web` or `bundler`)
|
||||
build-wasm:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue