Skip to content

feat: added project template support #16

feat: added project template support

feat: added project template support #16

Workflow file for this run

name: ci
on:
pull_request:
types:
- opened
- reopened
- synchronize
- ready_for_review
env:
NX_BASE: origin/${{github.base_ref}}
NX_CLOUD_ACCESS_TOKEN: ${{ secrets.NX_CLOUD_ACCESS_TOKEN }}
jobs:
check_affected:
runs-on: ubuntu-latest
steps:
- name: setup repo
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: setup pnpm
uses: pnpm/action-setup@v4
- name: setup node
uses: actions/setup-node@v4
with:
node-version-file: "package.json"
cache: "pnpm"
- name: log params
run: |
echo NX_BASE = $NX_BASE
echo node version = $(node --version)
echo pnpm version = $(pnpm --version)
- name: install
run: pnpm i
- name: build
run: pnpm build
- name: check source types
run: pnpm typecheck:src
- name: check test types
run: pnpm typecheck:test
- name: lint check
run: pnpm lint:check
- name: format check
run: pnpm format:check
- name: test
run: pnpm test