Added workflow for GitHub CI

This commit is contained in:
koloml committed 2025-02-21 00:25:31 +04:00
1 parent 68b68d3efd
commit 91c44adbd3
1 file changed
+32
+32
View File
@@ -0,0 +1,32 @@
name: Testing
on:
push:
branches:
- master
- 'release/**'
pull_request:
branches:
- master
- 'release/**'
jobs:
run-tests:
name: 'Run Unit Tests'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '22'
- name: Install npm dependencies
run: npm ci
- name: Running unit tests
run: npm run test
- name: Building the extension
run: npm run build