Skip to content

Create build.yml

Create build.yml #1

Workflow file for this run

name: Build
on:
push:
branches:
- '*'
pull_request:
branches:
- '*'
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Clone repo
uses: actions/checkout@v4
- name: Setup
uses: pnpm/action-setup@v2
with:
version: latest
- uses: actions/setup-node@v4
with:
node-version: 18
cache: pnpm
- run: pnpm build
- uses: actions/upload-artifact@v4
with:
path: dist/