Skip to content

Modifyng the README file #1

Modifyng the README file

Modifyng the README file #1

Workflow file for this run

name: Create and Push Agent TGZ to Main
on:
push:
branches:
- main
paths:
- 'apps/agent/**'
jobs:
build-and-push:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: '20'
- name: Install dependencies
run: yarn install
- name: Build and bundle
run: |
cd apps/agent
yarn bundle
- name: Rename bundle
run: mv apps/agent/dist/*.tgz apps/agent/dist/agent-${{ github.sha }}.tgz
- name: Upload artifact
uses: actions/upload-artifact@v3
with:
name: agent-bundle
path: apps/agent/dist/agent-${{ github.sha }}.tgz