Skip to content

docs(image-shrink): Updated npm package links for improved accessibil… #610

docs(image-shrink): Updated npm package links for improved accessibil…

docs(image-shrink): Updated npm package links for improved accessibil… #610

Workflow file for this run

name: checks
on:
pull_request:
push:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
env:
UPLOAD_CLIENT_DEFAULT_PUBLIC_KEY: ${{ secrets.UPLOAD_CLIENT_DEFAULT_PUBLIC_KEY }}
REST_CLIENT_DEFAULT_PUBLIC_KEY: ${{ secrets.REST_CLIENT_DEFAULT_PUBLIC_KEY }}
REST_CLIENT_DEFAULT_SECRET_KEY: ${{ secrets.REST_CLIENT_DEFAULT_SECRET_KEY }}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 16
- uses: dorny/paths-filter@v2
id: changes
with:
filters: |
rest-client:
- 'packages/rest-client/**'
- 'packages/api-client-utils/**'
upload-client:
- 'packages/upload-client/**'
- 'packages/api-client-utils/**'
api-client-utils:
- 'packages/api-client-utils/**'
signed-uploads:
- 'packages/signed-uploads/**'
image-shrink:
- 'packages/image-shrink/**'
- name: Install dependencies
working-directory: ./
run: npm i
- name: Run build
working-directory: ./
run: npm run build
- name: Run lint
working-directory: ./
run: npm run lint
- name: Run `upload-client` mock tests
if: steps.changes.outputs.upload-client == 'true'
run: npm run test -w packages/upload-client
- name: Run `signed-uploads` local tests
if: steps.changes.outputs.signed-uploads == 'true'
run: npm run test -w packages/signed-uploads
- name: Run `api-client-utils` local tests
if: steps.changes.outputs.api-client-utils == 'true'
run: npm run test -w packages/api-client-utils
- name: Run `rest-client` integration tests
if: steps.changes.outputs.rest-client == 'true'
run: npm run test:production -w packages/rest-client
- name: Run `upload-client` integration tests
if: steps.changes.outputs.upload-client == 'true'
run: npm run test:production -w packages/upload-client