Skip to content

Upgrade pdfjs-dist to 4.3.136 #119

Upgrade pdfjs-dist to 4.3.136

Upgrade pdfjs-dist to 4.3.136 #119

name: Frontend
on:
pull_request:
branches: [dev]
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: 16.x
- name: Cache npm dependencies
uses: actions/cache@v2
with:
path: '~/.npm'
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
# - name: install latest npm
# run: |
# npm install -g npm &&
# npm --version
- run: npm ci
- run: npm run lint
coverage:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: 16.x
- name: Cache npm dependencies
uses: actions/cache@v2
with:
path: '~/.npm'
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
# - name: install latest npm
# run: |
# npm install -g npm &&
# npm --version
- run: npm ci
- run: npm run coverage