msr-mod/.gitea/workflows/workflow.yaml
Astrian Zheng ccd5545779
All checks were successful
Build Extension / build (push) Successful in 2m46s
feat: add workflow for building the extension with Node.js
2025-05-28 13:59:52 +10:00

31 lines
559 B
YAML

name: Build Extension
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: '18'
- name: Install dependencies
run: npm install
- name: Build extension
run: npm run build
- name: Upload build artifacts
uses: actions/upload-artifact@v3
with:
name: extension-build
path: dist/