-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'publishable-client-library' into monkey-patch-fetch
- Loading branch information
Showing
121 changed files
with
14,910 additions
and
6,587 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 |
---|---|---|
@@ -0,0 +1,60 @@ | ||
# Test and build the project. | ||
--- | ||
name: Build API | ||
|
||
on: | ||
# Allow manual trigger | ||
workflow_dispatch: | ||
|
||
# Run on every pull request | ||
pull_request: | ||
branches: ["*"] | ||
|
||
# Run on every push to main | ||
push: | ||
branches: ["main"] | ||
|
||
jobs: | ||
build-rust: | ||
strategy: | ||
matrix: | ||
include: | ||
- target: x86_64-unknown-linux-gnu | ||
os: ubuntu-latest-8-cores | ||
|
||
name: Create binary for ${{ matrix.target }} | ||
runs-on: ${{ matrix.os }} | ||
env: | ||
CARGO: cargo | ||
TARGET_FLAGS: "" | ||
TARGET_DIR: ../target | ||
RUST_BACKTRACE: 1 | ||
|
||
permissions: | ||
id-token: write | ||
contents: read | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
submodules: recursive | ||
|
||
- name: Install Rust | ||
uses: actions-rust-lang/setup-rust-toolchain@v1 | ||
with: | ||
rustflags: "" # Do not fail on warnings, so reset the default value to empty | ||
|
||
- name: cargo test | ||
run: cargo test | ||
|
||
- name: cargo build | ||
run: cargo build --release | ||
|
||
- name: Upload artifact | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: fpx_${{ matrix.target }} | ||
path: target/release/fpx | ||
if-no-files-found: error | ||
retention-days: 7 |
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 |
---|---|---|
@@ -0,0 +1,35 @@ | ||
# This workflow will be triggered by a GitHub pull-request. | ||
--- | ||
name: Build node packages | ||
|
||
on: | ||
pull_request: | ||
branches: ["*"] | ||
push: | ||
branches: ["main", "release-*"] | ||
|
||
env: | ||
CARGO_TERM_COLOR: always | ||
FORCE_COLOR: true | ||
|
||
jobs: | ||
build_packages: | ||
name: Build packages | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
|
||
- name: Setup Node.js | ||
uses: actions/setup-node@v2 | ||
with: | ||
node-version: lts/* | ||
cache: npm | ||
- name: Install dependencies | ||
run: npm ci --workspaces | ||
|
||
- name: Lint all workspaces | ||
run: npm run lint:ci --workspaces | ||
|
||
- name: Build all workspaces | ||
run: npm run build --workspaces --if-present |
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,2 +1,38 @@ | ||
# Rust targets | ||
**/target | ||
target | ||
|
||
.env | ||
.envrc | ||
|
||
# Mac | ||
.DS_Store | ||
|
||
# VS Code | ||
.vscode/* | ||
*.code-workspace | ||
|
||
# CLion | ||
.idea | ||
|
||
# TypeScript / Yarn | ||
.yarn/* | ||
!.yarn/patches | ||
!.yarn/plugins | ||
!.yarn/releases | ||
!.yarn/sdks | ||
!.yarn/versions | ||
node_modules | ||
package-lock.json | ||
yarn-error.log | ||
|
||
# Build tools | ||
.parcel-cache* | ||
.nx/cache | ||
*.tsbuildinfo | ||
|
||
# Personal files | ||
mizu.boots.code-workspace | ||
start-dev.sh | ||
.vscode | ||
node_modules | ||
start-dev.sh |
Oops, something went wrong.