Skip to content

feat(angular update): v19.0.0, pdfjs/viewer v4.8.69 #10

feat(angular update): v19.0.0, pdfjs/viewer v4.8.69

feat(angular update): v19.0.0, pdfjs/viewer v4.8.69 #10

Workflow file for this run

name: Publish Package to npmjs
on:
push:
# Sequence of patterns matched against refs/tags
tags:
- 'v*' # Push events to matching v*, i.e. v1.0, v20.15.10
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
# Setup .npmrc file to publish to npm
- uses: actions/setup-node@v3
with:
node-version: '20.x'
registry-url: 'https://registry.npmjs.org'
- name: Install dependencies
working-directory: ./lib
run: npm ci
- name: Build
working-directory: ./lib
run: npm run build
- name: Publish to npm
working-directory: ./lib/dist
run: npm publish --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}