Skip to content

chore(project): setup Github Action #1

chore(project): setup Github Action

chore(project): setup Github Action #1

Workflow file for this run

name: Test Service
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: macos-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup node
uses: actions/setup-node@v3
with:
node-version: 18
- name: Install pnpm
uses: pnpm/action-setup@v2
with:
version: 8
- name: Install Rust
uses: moonrepo/setup-rust@v1
- name: Setup Rust
run: |
rustup install 1.72.1
rustup default 1.72.1
rustup target add x86_64-apple-darwin
rustup target add aarch64-apple-darwin
- name: Build
run: |
pnpm i
pnpm build