This repository has been archived by the owner on Aug 31, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 657
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
25 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,13 +5,13 @@ on: | |
branches: | ||
- main | ||
paths: # Only run when changes are made to rust code or root Cargo | ||
- 'crates/**' | ||
- 'fuzz/**' | ||
- 'xtask/**' | ||
- 'Cargo.toml' | ||
- 'Cargo.lock' | ||
- 'rust-toolchain.toml' | ||
- 'rustfmt.toml' | ||
- "crates/**" | ||
- "fuzz/**" | ||
- "xtask/**" | ||
- "Cargo.toml" | ||
- "Cargo.lock" | ||
- "rust-toolchain.toml" | ||
- "rustfmt.toml" | ||
|
||
env: | ||
RUST_LOG: info | ||
|
@@ -55,13 +55,12 @@ jobs: | |
with: | ||
submodules: false | ||
- name: Install toolchain | ||
run: rustup toolchain install nightly | ||
run: rustup toolchain install nightly | ||
- name: Install udeps | ||
run: cargo install cargo-udeps --locked | ||
- name: Run udeps | ||
run: cargo +nightly udeps | ||
|
||
|
||
test: | ||
strategy: | ||
matrix: | ||
|
@@ -125,11 +124,11 @@ jobs: | |
${{ runner.os }}- | ||
- uses: pnpm/[email protected] | ||
with: | ||
version: 7 | ||
version: 8 | ||
- name: Install wasm-pack | ||
uses: jetli/[email protected] | ||
with: | ||
version: 'latest' | ||
version: "latest" | ||
- name: Build TypeScript code | ||
run: | | ||
pnpm --prefix npm/backend-jsonrpc i | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,14 @@ | ||
|
||
# Jobs run on pull request in js folders | ||
name: Pull request JS | ||
on: | ||
pull_request: | ||
branches: | ||
- main | ||
paths: # Only run when changes are made to js code | ||
- 'website/**' | ||
- 'editors/**' | ||
- 'crates/**' | ||
- 'npm/js-api/**' | ||
- "website/**" | ||
- "editors/**" | ||
- "crates/**" | ||
- "npm/js-api/**" | ||
|
||
env: | ||
RUST_LOG: info | ||
|
@@ -47,7 +46,7 @@ jobs: | |
${{ runner.os }}- | ||
- uses: pnpm/[email protected] | ||
with: | ||
version: 7 | ||
version: 8 | ||
- name: Install toolchain | ||
uses: moonrepo/setup-rust@v0 | ||
- name: Build WASM module for the web | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ name: Release JavaScript API | |
on: | ||
workflow_dispatch: | ||
schedule: | ||
- cron: '0 0 * * 2-6' | ||
- cron: "0 0 * * 2-6" | ||
push: | ||
branches: | ||
- main | ||
|
@@ -70,7 +70,7 @@ jobs: | |
- name: Install wasm-pack | ||
uses: jetli/[email protected] | ||
with: | ||
version: 'latest' | ||
version: "latest" | ||
|
||
- name: Cache pnpm modules | ||
uses: actions/cache@v3 | ||
|
@@ -81,7 +81,7 @@ jobs: | |
${{ runner.os }}- | ||
- uses: pnpm/[email protected] | ||
with: | ||
version: 7 | ||
version: 8 | ||
|
||
- name: Set release infos | ||
if: needs.check.outputs.prerelease == 'true' | ||
|
@@ -134,7 +134,7 @@ jobs: | |
uses: actions/setup-node@v3 | ||
with: | ||
node-version: 14.x | ||
registry-url: 'https://registry.npmjs.org' | ||
registry-url: "https://registry.npmjs.org" | ||
|
||
- name: Set release infos | ||
if: needs.build.outputs.prerelease == 'true' | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,14 +5,14 @@ on: | |
branches: | ||
- main | ||
paths: | ||
- 'npm/**' | ||
- 'crates/**' | ||
- "npm/**" | ||
- "crates/**" | ||
pull_request: | ||
branches: | ||
- main | ||
paths: | ||
- 'npm/**' | ||
- 'crates/**' | ||
- "npm/**" | ||
- "crates/**" | ||
|
||
env: | ||
RUST_LOG: info | ||
|
@@ -30,7 +30,7 @@ jobs: | |
- name: Install wasm-pack | ||
uses: jetli/[email protected] | ||
with: | ||
version: 'latest' | ||
version: "latest" | ||
- name: Cache pnpm modules | ||
uses: actions/cache@v3 | ||
with: | ||
|
@@ -40,7 +40,7 @@ jobs: | |
${{ runner.os }}- | ||
- uses: pnpm/[email protected] | ||
with: | ||
version: 7 | ||
version: 8 | ||
- name: Install toolchain | ||
uses: moonrepo/setup-rust@v0 | ||
- name: Install libraries | ||
|