chore(deps): bump actions/upload-artifact from 4 to 5 #1396
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: Release | |
| on: | |
| pull_request: | |
| branches: | |
| - main | |
| types: [closed] | |
| env: | |
| CI: true | |
| jobs: | |
| release-new-version: | |
| if: ${{ github.event.pull_request.merged && startsWith(github.head_ref, 'release/') }} | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - uses: actions/setup-node@v5 | |
| with: | |
| node-version: 22 | |
| cache: npm | |
| registry-url: "https://registry.npmjs.org" | |
| - run: npm ci --workspaces | |
| # Running top-level ci should happen after workspaces level, running these | |
| # the other way around results in top-level dependencies (namely, lerna) | |
| # not being installed. | |
| - run: npm ci | |
| - run: npm run build | |
| - run: npm run release | |
| env: | |
| NODE_AUTH_TOKEN: ${{ secrets.INRUPT_NPM_TOKEN }} | |
| GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} |