-
Notifications
You must be signed in to change notification settings - Fork 0
42 lines (40 loc) · 932 Bytes
/
ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
name: CI
on:
push:
branches:
- develop
- gh-actions
pull_request:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- uses: pnpm/action-setup@v2
name: Setup pnpm
with:
version: 8
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version-file: .node-version
cache: pnpm
- name: Install dependencies
run: pnpm install
# TODO: lint seems to be broken for now
# - name: Lint
# run: pnpm lint
# TODO: type check prevent build for now
# - name: Type check
# run: pnpm type-check
- name: Build
run: pnpm build
- name: Save files
uses: actions/upload-artifact@v3
with:
name: urbanflo-vite
path: |
LICENSE
README.md
dist