This repository has been archived by the owner on Dec 10, 2024. It is now read-only.
ci: Add pnpm setup #302
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: Cider Chores | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
compile-and-post: | |
runs-on: ubuntu-latest | |
container: | |
image: electronuserland/builder:wine | |
steps: | |
- name: Checkout π | |
uses: actions/checkout@v4 | |
- uses: pnpm/action-setup@v4 | |
- name: Setup Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version-file: '.nvmrc' | |
- name: Install Dependencies π¦ | |
run: pnpm install | |
- name: Build π | |
run: pnpm dist:all | |
- name: Upload Release π | |
uses: softprops/[email protected] | |
with: | |
files: | | |
./dist/*.exe | |
./dist/*.deb | |
./dist/*.AppImage | |
./dist/*.rpm | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |