From 9601c5550790e42f03d9503abb75e2f0cecef628 Mon Sep 17 00:00:00 2001 From: NiktarioN Date: Thu, 9 Apr 2026 21:29:04 +0400 Subject: [PATCH] =?UTF-8?q?chore:=20=D0=98=D1=81=D0=BF=D1=80=D0=B0=D0=B2?= =?UTF-8?q?=D0=BB=D0=B5=D0=BD=D1=8B=20GitHub=20Actions=20=D0=B2=D0=BE?= =?UTF-8?q?=D1=80=D0=BA=D1=84=D0=BB=D0=BE=D1=83?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/ci.yml | 10 ++-------- .github/workflows/publish.yml | 13 +++++-------- 2 files changed, 7 insertions(+), 16 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2c85266..c7d2869 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -2,9 +2,9 @@ name: CI on: push: - branches: [main] + branches: [master] pull_request: - branches: [main] + branches: [master] jobs: ci: @@ -19,14 +19,8 @@ jobs: - run: npm ci - - name: Type check - run: npm run typecheck - - name: Lint run: npm run lint - - name: Test - run: npm test - - name: Build run: npm run build diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 3501e1a..42212b8 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -3,14 +3,14 @@ name: Publish to npm on: push: tags: - - 'v*' + - "v*" jobs: publish: runs-on: ubuntu-latest permissions: contents: read - id-token: write # для npm provenance + id-token: write steps: - uses: actions/checkout@v4 @@ -22,16 +22,13 @@ jobs: - run: npm ci - - name: Type check - run: npm run typecheck - - - name: Test - run: npm test + - name: Lint + run: npm run lint - name: Build run: npm run build - name: Publish - run: npm publish --provenance --access public + run: npm publish --provenance env: NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}