diff --git a/.gitea/workflows/workflow.yaml b/.gitea/workflows/workflow.yaml new file mode 100644 index 0000000..96ec369 --- /dev/null +++ b/.gitea/workflows/workflow.yaml @@ -0,0 +1,31 @@ +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/ \ No newline at end of file