1
0
mirror of https://github.com/koloml/furbooru-tagging-assistant.git synced 2025-12-23 23:02:58 +00:00

Added workflow for GitHub CI

This commit is contained in:
2025-02-21 00:25:31 +04:00
parent 68b68d3efd
commit 91c44adbd3

32
.github/workflows/build-and-tests.yml vendored Normal file
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