-
-
Notifications
You must be signed in to change notification settings - Fork 275
33 lines (28 loc) · 559 Bytes
/
Copy pathbuild.yml
File metadata and controls
33 lines (28 loc) · 559 Bytes
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
name: 'Build'
on:
push:
branches:
- master
- dev
pull_request:
branches:
- master
- dev
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/setup-node@v3
with:
node-version: 14
- name: Build
run: |
npm ci
npm run build
- name: Archive built file
uses: actions/upload-artifact@v4
with:
name: xiaomi-vacuum-map-card
path: dist/xiaomi-vacuum-map-card.js