ci: добавить проверку и публикацию релизов

- добавлен CI для pull request и master
- настроена OIDC-публикация npm из GitHub Release
- добавлена упаковка локализованных скиллов и контрольных сумм
This commit is contained in:
2026-07-11 09:27:46 +03:00
parent 5abece718b
commit 0ab4362e02
2 changed files with 149 additions and 0 deletions

42
.github/workflows/ci.yml vendored Normal file
View File

@@ -0,0 +1,42 @@
name: CI
on:
push:
branches:
- master
pull_request:
branches:
- master
workflow_dispatch:
permissions:
contents: read
concurrency:
group: ci-${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
verify:
name: Verify and build
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 24
cache: npm
- name: Install dependencies
run: npm ci
- name: Verify
run: npm run verify
- name: Build
run: npm run build