Skip to content

Commit

Permalink
ci: ensure latest pub version and rename steps
Browse files Browse the repository at this point in the history
  • Loading branch information
ygrishajev committed Apr 22, 2024
1 parent 296cf44 commit 5bb5a70
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 6 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,19 +18,19 @@ jobs:
uses: ./.github/workflows/commit-lint-reusable.yml
secrets: inherit

lint:
name: Lint and report coverage
code-style:
name: Code Style
uses: ./.github/workflows/code-style-reusable.yml
secrets: inherit

test:
name: Run tests
name: Run tests and report coverage
uses: ./.github/workflows/test-reusable.yml
secrets: inherit

release:
name: Build and release npm package
needs: [commit-lint, lint, test]
needs: [commit-lint, code-style, test]
runs-on: ubuntu-latest
steps:
- name: Checkout
Expand All @@ -39,6 +39,9 @@ jobs:
- name: Setup Node.js and Cache Dependencies
uses: ./.github/actions/setup-node

- name: Build
run: npm run build

- name: Release npm package
uses: cycjimmy/semantic-release-action@v4
env:
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 5bb5a70

Please sign in to comment.