Skip to content

Commit

Permalink
Create molecule-ci.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Kaweees committed Jan 31, 2024
1 parent 296514f commit 6670cf8
Showing 1 changed file with 42 additions and 0 deletions.
42 changes: 42 additions & 0 deletions .github/workflows/molecule-ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
name: Test Building Code
# Controls when the workflow will run
on: [push, pull_request, workflow_dispatch]
# The sequence of runs in this workflow:
jobs:
# This workflow contains a single job called "build"
build:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- name: Check out Repository Code
uses: actions/checkout@v3
- name: Cache Streaming Dependencies
uses: awalsh128/cache-apt-pkgs-action@latest
with:
packages: libunwind-dev libudev-dev libgstreamer-plugins-base1.0-dev libgstreamer1.0-dev gstreamer1.0-plugins-good gstreamer1.0-plugins-bad
version: 1.1
- name: Set Up Node
uses: actions/setup-node@v3
with:
node-version: 16
- name: Cache Node Dependencies
uses: actions/cache@v3
with:
path: |
ui/node_modules
ui/client/node_modules
key: ${{ runner.os }}-node-${{ hashFiles('ui/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
- name: Install Node Dependencies
run: |
cd ui
npm install
npm ci
cd client
npm install
cd ..
- name: Build Repository Code
run: |
cd ui
npm run build

0 comments on commit 6670cf8

Please sign in to comment.