Skip to content

But with the right step #11

But with the right step

But with the right step #11

Workflow file for this run

name: Build and release
on:
push:
workflow_dispatch:
jobs:
test-build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup PNPM
uses: pnpm/action-setup@v3
with:
version: 8
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: 20
cache: 'pnpm'
cache-dependency-path: pnpm-lock.yaml
- name: Install dependencies
run: pnpm install
# - name: Set up git
# run: |
# git config user.name "github-action[bot]"
# git config user.email "[email protected]"
- name: Tag
uses: mathieudutour/[email protected]
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
- name: Build
run: pnpm bump && pnpm build
env:
KEY: ${{ secrets.KEY }}
KEY_PASSPHRASE: ${{ secrets.KEY_PASSPHRASE }}
- name: Upload SWBN
uses: actions/upload-artifact@v4
with:
name: release
path: |
./dist/iwa-sink.swbnm
./update.json