-
-
Notifications
You must be signed in to change notification settings - Fork 7
62 lines (54 loc) · 1.81 KB
/
pull.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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
# This is a basic workflow to help you get started with Actions
name: CIPullRequest
# Controls when the workflow will run
on:
# Triggers the workflow on push or pull request events but only for the main branch
pull_request:
branches: [ main ]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
# - uses: wagoid/commitlint-github-action@v4
- name: Use Node
uses: actions/setup-node@v1
with:
node-version: '16.13.0'
# Runs a set of commands using the runners shell
- name: Run the build
run: |
cd src
ls
cd react_new_app
ls
cd blockly_automation
npm i
npm run build
cd build
ls -l
# cd src
# npm i @angular/cli@13.0.1
# npm i -ws --include-workspace-root --force
# cp -r node_modules AutoBlocklyApp/node_modules
# # ls -l AutoBlocklyApp/node_modules/*
# npm run buildAng
# ls -l AutoBlocklyApp/dist/AutoBlocklyApp
# cd src
# echo 'install angular'
# npm i @angular/cli@12.2.13
# echo "install ws"
# npm i -ws --include-workspace-root
# ls -l node_modules/
# echo "copy "
# cp -r node_modules AutoBlocklyApp/node_modules
# echo 'lets see now the files'
# ls -l AutoBlocklyApp/node_modules/
# echo "build"
# npm run buildAng
# ls -l AutoBlocklyApp/dist/AutoBlocklyApp