chore(deps-dev): bump esbuild from 0.19.0 to 0.19.3 #37
Workflow file for this run
This file contains 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: push | |
jobs: | |
release: | |
name: Release | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- name: Setup Node.js | |
uses: actions/[email protected] | |
with: | |
node-version: 18.x | |
- name: Install dependencies | |
run: npm ci | |
- name: Generate binaries for macOS, Linux and Windows | |
run: npm run package | |
- name: Rename macOS binary to conform to GitHub CLI extension rules | |
run: mv bin/migrate-project-macos bin/gh-migrate-project-darwin-amd64 | |
- name: Rename Windows binary to conform to GitHub CLI extension rules | |
run: mv bin/migrate-project-win.exe bin/gh-migrate-project-windows-amd64.exe | |
- name: Rename Linux binary to conform to GitHub CLI extension rules | |
run: mv bin/migrate-project-linux bin/gh-migrate-project-linux-amd64 | |
- name: Create GitHub release | |
uses: softprops/action-gh-release@v1 | |
if: startsWith(github.ref, 'refs/tags/') | |
with: | |
files: | | |
bin/gh-migrate-project-darwin-amd64 | |
bin/gh-migrate-project-linux-amd64 | |
bin/gh-migrate-project-windows-amd64.exe | |
generate_release_notes: true |