[#2482] Add condition to use npm.cmd on windows and npm elsewhere #465
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: Delete deployments for closed pull requests | |
| on: | |
| pull_request_target: | |
| branches-ignore: | |
| - gh-pages | |
| types: [closed] | |
| jobs: | |
| delete: | |
| name: Delete pull request deployments | |
| runs-on: ubuntu-latest | |
| env: | |
| ACTIONS_PULL_REQUEST_HEAD: ${{ github.event.pull_request.head.sha }} | |
| ACTIONS_PULL_REQUEST_NUMBER: ${{ github.event.number }} | |
| GITHUB_TOKEN: ${{ github.token }} | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Delete deployments | |
| run: ./config/gh-actions/delete-deploy.sh |