Skip to content

Commit

Permalink
Add workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
bianyifan authored Feb 7, 2024
1 parent c5e1985 commit 1708ef4
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Build
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: lts/*
check-latest: true
- name: Install dependencies
run: |
corepack enable
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
source $HOME/.cargo/env
cargo install wasm-pack
- name: Build
run: |
yarn install
yarn workspace azure-arm-unique-string build
- name: Upload artifacts
uses: actions/upload-artifact@v4
with:
name: web-page-dist
path: packages/web-page/dist/

0 comments on commit 1708ef4

Please sign in to comment.