Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 14 additions & 14 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ name: Build and Release
on:
push:
paths-ignore:
- 'packages/docs/**'
- 'README.md'
- "packages/docs/**"
- "README.md"

concurrency: ${{ github.workflow }}-${{ github.ref }}

Expand All @@ -23,9 +23,9 @@ jobs:
- uses: pnpm/action-setup@v2
- uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4
with:
node-version-file: '.nvmrc'
cache: 'pnpm'
registry-url: 'https://registry.npmjs.org'
node-version-file: ".nvmrc"
cache: "pnpm"
registry-url: "https://registry.npmjs.org"
- run: pnpm i
- name: Build
run: pnpm build
Expand All @@ -34,22 +34,22 @@ jobs:

- name: Test
run: pnpm test
- name: Upload code coverage
uses: paambaati/codeclimate-action@f429536ee076d758a24705203199548125a28ca7 # v9.0.0
env:
CC_TEST_REPORTER_ID: ${{secrets.CC_TEST_REPORTER_ID}}
with:
coverageLocations: ${{github.workspace}}/packages/core/coverage/lcov.info:lcov
prefix: test
# - name: Upload code coverage
# uses: paambaati/codeclimate-action@f429536ee076d758a24705203199548125a28ca7 # v9.0.0
# env:
# CC_TEST_REPORTER_ID: ${{secrets.CC_TEST_REPORTER_ID}}
# with:
# coverageLocations: ${{github.workspace}}/packages/core/coverage/lcov.info:lcov
# prefix: test
- name: Create Release Pull Request or Publish to npm
id: changesets
if: github.ref_name == 'main'
uses: changesets/action@v1
with:
version: pnpm run ci:version # pnpm changeset version && pnpm install --lockfile-only
publish: pnpm run ci:publish
commit: 'chore: update versions'
title: 'Release: new versions'
commit: "chore: update versions"
title: "Release: new versions"
createGithubReleases: false
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down