chore(release): publish v0.4.3 #23
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: CI | |
| on: | |
| push: | |
| branches: ['master', 'develop'] | |
| pull_request: | |
| branches: ['master', 'develop'] | |
| permissions: | |
| actions: read | |
| contents: write | |
| packages: write | |
| jobs: | |
| master: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 | |
| # Cache node_modules | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: 20 | |
| cache: 'yarn' | |
| # Setup NPM authentication | |
| registry-url: 'https://registry.npmjs.org' | |
| - run: yarn install --frozen-lockfile | |
| - uses: nrwl/nx-set-shas@v4 | |
| # Run tests and generate coverage | |
| - run: yarn nx affected -t lint | |
| - run: yarn nx affected -t test --code-coverage | |
| - run: yarn nx affected -t build | |
| # Upload test coverage to CodeClimate | |
| # - name: Upload coverage to Code Climate | |
| # uses: paambaati/codeclimate-action@v9.0.0 | |
| # env: | |
| # CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }} | |
| # with: | |
| # coverageLocations: | | |
| # ${{github.workspace}}/coverage/libs/jsonapi/core/lcov.info:lcov | |
| # ${{github.workspace}}/coverage/libs/jsonapi/angular/lcov.info:lcov |