From b257dccd0b2960f7099e62fea3d6e3e53c79e3fb Mon Sep 17 00:00:00 2001 From: Almanov Nikita <131481562+nikkeyl@users.noreply.github.com> Date: Tue, 19 Mar 2024 17:22:39 +0300 Subject: [PATCH] ci: rename workflow --- .github/workflows/release.yaml | 4 ++-- .github/workflows/{mocha.yaml => test.yaml} | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) rename .github/workflows/{mocha.yaml => test.yaml} (97%) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index a08697c..9194107 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -3,7 +3,7 @@ name: Release on: workflow_run: workflows: - - Mocha + - Test types: - completed push: @@ -56,5 +56,5 @@ jobs: - name: Create Release env: GITHUB_TOKEN: ${{ steps.generate_token.outputs.token }} - NPM_TOKEN: ${{ secrets.NPM_TOKEN }} + NPM_TOKEN: ${{ secrets.NPM_PUBLISH_TOKEN }} run: pnpm release diff --git a/.github/workflows/mocha.yaml b/.github/workflows/test.yaml similarity index 97% rename from .github/workflows/mocha.yaml rename to .github/workflows/test.yaml index 92622a4..b786877 100644 --- a/.github/workflows/mocha.yaml +++ b/.github/workflows/test.yaml @@ -1,4 +1,4 @@ -name: Mocha +name: Test on: workflow_run: @@ -14,7 +14,7 @@ on: - main jobs: - mocha: + test: name: Test runs-on: ubuntu-latest