[86] Add Canvas
text and code support
#45
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build and Package Extensions | |
on: | |
pull_request: | |
workflow_dispatch: | |
jobs: | |
build-zips: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Get code | |
uses: actions/checkout@v4 | |
- name: Install Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: '20' | |
- name: Install dependencies | |
run: npm ci | |
- name: Build and Package Extensions | |
run: npm run build:all | |
- name: Upload prod extension artifact (unzipped) | |
uses: actions/upload-artifact@v4 | |
with: | |
name: extensions-prod | |
path: build/prod/* | |
- name: Upload release extension artifact (zipped) | |
uses: actions/upload-artifact@v4 | |
with: | |
name: extensions-releases | |
path: build/releases/* | |
report: | |
needs: [build-zips] | |
if: failure() | |
runs-on: ubuntu-latest | |
steps: | |
- name: Report | |
run: | | |
echo "Something went wrong" | |
echo "${{ toJSON(github) }}" |