Skip to content

remove bun from ci

remove bun from ci #9

Workflow file for this run

name: Build and Release QHotkeys
on:
push:
branches:
- main # Set this to the branch you want to build from
jobs:
publish:
name: Publish to npm
if: github.event_name == 'push' && github.ref == 'refs/heads/main' && contains(github.event.head_commit.message, '[publish]')
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '20'
registry-url: 'https://registry.npmjs.org'
- run: npm ci
- run: npm run build
- name: Publish to npm
id: publish # Assign an ID to this step
run: npm publish --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}