feat: add workflow for building the extension with Node.js
All checks were successful
Build Extension / build (push) Successful in 2m46s
All checks were successful
Build Extension / build (push) Successful in 2m46s
This commit is contained in:
parent
edb6662d0e
commit
ccd5545779
31
.gitea/workflows/workflow.yaml
Normal file
31
.gitea/workflows/workflow.yaml
Normal file
|
@ -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/
|
Loading…
Reference in New Issue
Block a user