unfucking my stupidity part 4 #33
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: | |
tags: | |
- "*" | |
jobs: | |
release: | |
name: Release | |
runs-on: ubuntu-latest | |
permissions: | |
contents: write | |
steps: | |
- name: Check out Git repository | |
uses: actions/checkout@v2 | |
- name: Set up Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 20 | |
- uses: pnpm/action-setup@v2 | |
with: | |
version: latest | |
- name: Install Node.js dependencies | |
run: pnpm install | |
- name: Build TypeScript and bundle into asar | |
run: pnpm run bundle | |
- uses: ncipollo/release-action@v1 | |
with: | |
artifacts: "bundle/*" | |
makeLatest: true | |
allowUpdates: true | |
omitBodyDuringUpdate: true |