chore: bump node to v20 LTS on all the ci workflows #330
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: Ship js trigger | |
| on: | |
| pull_request: | |
| types: | |
| - closed | |
| jobs: | |
| build: | |
| name: Release | |
| runs-on: ubuntu-latest | |
| if: github.event.pull_request.merged == true && startsWith(github.head_ref, 'releases/v') | |
| steps: | |
| - uses: actions/checkout@v2 | |
| with: | |
| fetch-depth: 0 | |
| ref: master | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: 20 | |
| - run: npm ci | |
| - run: npx shipjs trigger | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| NPM_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }} |