Skip to content

Commit 9be641f

Browse files
authored
Update main.yml for debug.
1 parent a515e37 commit 9be641f

1 file changed

Lines changed: 24 additions & 4 deletions

File tree

.github/workflows/main.yml

Lines changed: 24 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@ name: CI Pipeline
22
run-name: ${{ github.actor }} is testing out GitHub Actions
33

44
on:
5+
# Run this workflow every time a new commit pushed to upstream/fork repository.
6+
# Run workflow on fork repository will help contributors find and resolve issues before sending a PR.
57
push:
68
branches: [ main ]
79
pull_request:
@@ -10,6 +12,8 @@ on:
1012
jobs:
1113
build:
1214
runs-on: ubuntu-latest
15+
env:
16+
HELM_VERSION: v3.8.1
1317
steps:
1418
- run: echo "🎉 The job was automatically triggered by a ${{ github.event_name }} event."
1519
- run: echo "🐧 This job is now running on a ${{ runner.os }} server hosted by GitHub!"
@@ -30,11 +34,27 @@ jobs:
3034
with:
3135
node-version: '16'
3236

37+
- name: Set up Python
38+
uses: actions/setup-python@v5
39+
with:
40+
python-version: "3.11"
41+
architecture: "x86"
42+
cache: "pip"
43+
44+
- name: Display Python version
45+
run: python -c "import sys; print(sys.version)"
46+
47+
- name: Install Helm
48+
uses: azure/setup-helm@v4
49+
with:
50+
version: ${{ env.HELM_VERSION }}
51+
3352
- name: Install dependencies
34-
run: npm install
53+
run: pip install make
3554

3655
- name: Run build
37-
run: npm run build
56+
run: |
57+
make ci
3858
39-
- name: Run tests
40-
run: npm test
59+
# - name: Run tests
60+
# run: npm test

0 commit comments

Comments
 (0)