Skip to content

Commit

Permalink
Merge pull request #92 from codelitdev/issue-87
Browse files Browse the repository at this point in the history
Fixed GitHub Actions
  • Loading branch information
rajat1saxena authored Feb 3, 2024
2 parents dc4762a + 83621d3 commit 3fa446f
Showing 1 changed file with 14 additions and 2 deletions.
16 changes: 14 additions & 2 deletions .github/workflows/code-quality.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,15 @@ jobs:
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 'Rajat Saxena'
git config --global user.email 'hi@sub.rajatsaxena.dev'
git config --global user.name 'GitHub Actions'
git config --global user.email 'hi@codelit.dev'
git remote set-url origin https://$GITHUB_ACTOR:$GITHUB_PAT@github.com/codelitdev/medialit
env:
GITHUB_PAT: ${{ secrets.PAT }}
Expand All @@ -39,5 +44,12 @@ jobs:
- 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

0 comments on commit 3fa446f

Please sign in to comment.