Skip to content

Merge pull request #1939 from abizek/fix/skip-crowdin-action-on-forks #240

Merge pull request #1939 from abizek/fix/skip-crowdin-action-on-forks

Merge pull request #1939 from abizek/fix/skip-crowdin-action-on-forks #240

name: Lint, Test & Build
concurrency:
group: "${{ github.workflow }}-${{ github.ref }}"
cancel-in-progress: true
on:
workflow_dispatch:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
main:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/[email protected]
with:
fetch-depth: 2
- name: Setup pnpm
uses: pnpm/[email protected]
with:
version: 9.1.3
- name: Setup Node.js
uses: actions/[email protected]
with:
cache: "pnpm"
node-version: 20.13.1
- name: Install Dependencies
run: pnpm install --frozen-lockfile
- name: Lint
run: pnpm lint
- name: Format
run: pnpm format:check
- name: Test
run: pnpm test
- name: Build
run: pnpm build
env:
NODE_ENV: production
NX_CLOUD_ACCESS_TOKEN: ${{ secrets.NX_CLOUD_ACCESS_TOKEN }}