chore: remove USE_LOCAL from normal dev command and update snap man…
#2651
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: CI | |
| on: | |
| workflow_dispatch: | |
| push: | |
| branches: | |
| - master | |
| - develop | |
| pull_request: | |
| types: [opened, synchronize, reopened] | |
| jobs: | |
| main: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Install pnpm | |
| uses: pnpm/action-setup@v3 | |
| - name: Install node | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version-file: '.nvmrc' | |
| registry-url: https://registry.npmjs.org/ | |
| cache: 'pnpm' | |
| - name: Set up nx-cloud | |
| run: npx nx-cloud start-ci-run --distribute-on="4 linux-medium-plus-js" --stop-agents-after="test:ci" | |
| - name: Install dependencies | |
| run: pnpm install --frozen-lockfile | |
| - run: pnpm nx run-many --target=build,lint,test:ci |