Skip to content

Changed image tag to latest #66

Changed image tag to latest

Changed image tag to latest #66

Workflow file for this run

name: Code Quality
on: [push]
concurrency: ${{ github.workflow }}-${{ github.ref }}
env:
CI: true
jobs:
publish-packages:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Setup Node.js
uses: actions/setup-node@v2
with:
node-version: '21'
- name: Configure CI Git User
run: |
git config --global user.name 'GitHub Actions'
git config --global user.email '[email protected]'
git remote set-url origin https://$GITHUB_ACTOR:[email protected]/codelitdev/medialit
env:
GITHUB_PAT: ${{ secrets.PAT }}
- name: Checkout and pull branch
run: git checkout "${GITHUB_REF:11}" && git pull
- name: Install pnpm
run: |
npm i pnpm@latest -g
- name: Install dependencies
run: pnpm install
- name: Run lint
run: pnpm lint
- name: Run prettier
run: pnpm prettier
- name: Build dependencies
run: |
pnpm --filter=@medialit/utils build
pnpm --filter=@medialit/models build
pnpm --filter=@medialit/images build
pnpm --filter=@medialit/thumbnail build
- name: Run test
run: pnpm test