fix(deps): bump the minor-and-patch group across 1 directory with 12 … #520
Workflow file for this run
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: Integrate | |
| on: | |
| - push | |
| - pull_request | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| integrate: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Set up Node.js | |
| uses: actions/setup-node@v6 | |
| with: | |
| node-version: 22.x | |
| - name: Cache node modules | |
| uses: actions/cache@v5 | |
| with: | |
| path: node_modules | |
| key: npm-${{ runner.os }}-${{ hashFiles('package-lock.json') }} | |
| restore-keys: | | |
| npm-${{ runner.os }}-${{ hashFiles('package-lock.json') }} | |
| npm-${{ runner.os }}- | |
| - run: npm ci | |
| - run: npm run lint | |
| - run: npm run test | |
| - run: npm run build | |
| publish: | |
| if: github.ref == 'refs/heads/main' && github.event_name == 'push' | |
| needs: integrate | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: write | |
| issues: write | |
| pull-requests: write | |
| id-token: write | |
| steps: | |
| - uses: actions/checkout@v6 | |
| with: | |
| fetch-depth: 0 | |
| persist-credentials: false | |
| - name: Set up Node.js | |
| uses: actions/setup-node@v6 | |
| with: | |
| node-version: 22.x | |
| registry-url: https://registry.npmjs.org | |
| - run: npm ci | |
| - run: npm run build | |
| - name: Release | |
| run: npx semantic-release | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} |