Skip to content

fix: Security and reliability improvements (v1.1.5) #26

fix: Security and reliability improvements (v1.1.5)

fix: Security and reliability improvements (v1.1.5) #26

Workflow file for this run

name: Publish to npm
on:
push:
branches: [main]
paths:
- 'package.json'
workflow_dispatch:
jobs:
publish:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 20
registry-url: https://registry.npmjs.org
- name: Install system dependencies
run: sudo apt-get update && sudo apt-get install -y libsecret-1-dev
- name: Install dependencies
run: npm ci
- name: Build
run: npm run build
- name: Publish
run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}