Skip to content

adding extra steps to workflow #3

adding extra steps to workflow

adding extra steps to workflow #3

name: Build & Publish Extension
on:
push:
branches: ["main"]
jobs:
build-retool-embedder:
name: Build Chrome extension artifact
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: "18"
- name: Build Extension
run: |-
npm ci
npm run build
zip -r retool-embedder-${{ github.event.head_commit.id }}.zip build
- name: Archive retool-embedder Artifact
uses: actions/upload-artifact@v4
with:
name: retool-embedder-${{ github.sha }}
path: retool-embedder-${{ github.event.head_commit.id }}.zip
- name: Archive retool-embedder Artifact
uses: ncipollo/release-action@v1
with:
artifacts: "retool-embedder-${{ github.event.head_commit.id }}.zip"
body: "# Retool Embedder CI Build\n## retool-embedder-${{ github.event.head_commit.id }}.zip"