https://github.com/edgee-cloud/install-edgee-cli
The github action to install edgee binary onto a github workflow
https://github.com/edgee-cloud/install-edgee-cli
Last synced: 2 months ago
JSON representation
The github action to install edgee binary onto a github workflow
- Host: GitHub
- URL: https://github.com/edgee-cloud/install-edgee-cli
- Owner: edgee-cloud
- Created: 2025-02-17T13:41:45.000Z (3 months ago)
- Default Branch: main
- Last Pushed: 2025-02-17T16:25:06.000Z (3 months ago)
- Last Synced: 2025-02-17T17:32:18.860Z (3 months ago)
- Size: 1.95 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Install Edgee's CLI Github Action
## Overview
This GitHub Action automates the process of installing Edgee CLI's, building and testing Edgee components## Features
- Installs the Edgee CLI via the `edgee-cloud/install-edgee-cli`.## Example Usage
To use this action in your GitHub workflows, add the following to your `.github/workflows/build.yml` file:```yaml
name: Build and Deployon:
push:
branches:
- "*"
pull_request:
branches:
- mainjobs:
build:
runs-on: ubuntu-lateststeps:
- name: Checkout code
uses: actions/checkout@v2- name: Install Edgee
uses: edgee-cloud/[email protected]- name: Build
run: |
edgee components build- name: Verify .wasm file exists
run: |
if [ -f "./example-js-component.wasm" ]; then
echo "✅ WASM file generated successfully!"
else
echo "❌ Error: example-js-component.wasm not found! There's an issue with your build" >&2
exit 1
fi- name: Run tests
run: npm test
```## Inputs
This action does not require additional user inputs.## Environment Variables
No specific environment variables are required for this action.