Skip to content

pdf2pic-3.1.2

pdf2pic-3.1.2 #10

Workflow file for this run

name: NPM publish
on:
release:
types: [released]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 18
registry-url: https://registry.npmjs.org
- run: |
sudo apt-get update
sudo apt-get install -y graphicsmagick ghostscript
- run: npm install
- run: npm run build
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}