feat!: remove compatibility layer api (#146) #89
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/CD' | |
| on: | |
| push: | |
| branches: | |
| - master | |
| jobs: | |
| setup: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Use Node.js 24 | |
| uses: actions/setup-node@v6 | |
| with: | |
| node-version-file: .nvmrc | |
| cache: npm | |
| - name: Install dependencies | |
| run: npm ci | |
| - name: Lint code | |
| run: npm run lint | |
| - name: Check types | |
| run: npm run typecheck | |
| - name: Run tests | |
| run: npm run test:coverage && npm run test:e2e | |
| - name: Audit production dependencies | |
| run: npm run audit:prod | |
| - name: Ensure build & shrinkwrap work | |
| run: | | |
| npm run build | |
| npm run package | |
| git diff --exit-code -- dist | |
| - name: Bump version | |
| id: bump_version | |
| uses: 'phips28/gh-action-bump-version@master' | |
| with: | |
| tag-prefix: 'v' | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| - name: Create release | |
| id: create_release | |
| uses: actions/create-release@v1 | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| with: | |
| tag_name: ${{ steps.bump_version.outputs.newTag }} | |
| release_name: ${{ steps.bump_version.outputs.newTag }} | |
| draft: false | |
| prerelease: false |