From c45a09a6156b08dbaeee4133f5df973c5e86248e Mon Sep 17 00:00:00 2001 From: ukorvl Date: Tue, 8 Aug 2023 19:33:17 +0400 Subject: [PATCH] minor changes #10 --- .github/workflows/build.yaml | 5 +---- .github/workflows/release.yaml | 6 +++--- 2 files changed, 4 insertions(+), 7 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 7d88e64..527a2e4 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -14,7 +14,7 @@ on: jobs: build: - runs-on: [ubuntu-latest] + runs-on: ubuntu-latest name: Build steps: - name: Checkout @@ -31,9 +31,6 @@ jobs: - name: Lint run: npm run lint - - name: Lint:editorconfig - run: npm run lint:editorconfig - - name: Test run: npm run test diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index d06f636..d170b63 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -7,7 +7,7 @@ on: jobs: ensure_version_changed: name: Ensure that version was changed - runs-on: [ubuntu-latest] + runs-on: ubuntu-latest outputs: version: ${{ steps.check_version.outputs.version }} steps: @@ -40,7 +40,7 @@ jobs: should_pack: true publish: - runs-on: [ubuntu-latest] + runs-on: ubuntu-latest needs: [build, ensure_version_changed] if: ${{ needs.ensure_version_changed.outputs.version }} name: Publish to npm @@ -56,7 +56,7 @@ jobs: npm publish --access public ukorvl-react-on-screen-${{ needs.ensure_version_changed.outputs.version }}.tgz tag: - runs-on: [ubuntu-latest] + runs-on: ubuntu-latest needs: [build, ensure_version_changed, publish, release] if: ${{ needs.ensure_version_changed.outputs.version }} name: Tag