test : coverage improvement (#171) #112
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: Changesets PR or Publish | |
| on: | |
| push: | |
| branches: [main, beta] | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| permissions: | |
| id-token: write | |
| contents: write | |
| pull-requests: write | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Install Node.js | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version-file: '.nvmrc' | |
| cache: 'yarn' | |
| - name: Install Dependencies | |
| run: yarn install | |
| - name: Update npm | |
| run: npm install -g [email protected] | |
| - name: Build Package | |
| run: yarn workspace overlay-kit run build | |
| - name: Create Changesets Pull Request or Publish to NPM | |
| uses: changesets/action@v1 | |
| with: | |
| title: 'chore: version packages' | |
| commit: 'chore: version packages' | |
| version: yarn changeset:version | |
| publish: yarn changeset:publish | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |