-
Notifications
You must be signed in to change notification settings - Fork 1
44 lines (34 loc) · 912 Bytes
/
build.yaml
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
43
44
name: Build
on:
push:
branches: [main]
pull_request:
branches: [main]
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
build:
name: build
runs-on: ubuntu-latest
steps:
- name: Check out repository code
uses: actions/checkout@v4
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: '3.10'
- name: Install and configure Poetry
uses: snok/install-poetry@v1
with:
version: 1.8.3
- name: Install Node JS
uses: actions/setup-node@v4
with:
node-version: '20'
- name: Install Python dependencies
run: poetry install --no-interaction
- name: Install NPM dependencies
run: npm ci
- name: Copy node module scripts
run: npm run dist