Skip to content

Commit

Permalink
ci: add build workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
RealHeart committed Feb 13, 2024
1 parent feee6c2 commit bcf4a50
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Build

on:
push:
pull_request:

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: "20"
- run: corepack enable
- run: pnpm install
- run: pnpm build
- uses: actions/upload-artifact@v4
with:
name: dist
path: dist

0 comments on commit bcf4a50

Please sign in to comment.