Skip to content

Commit 05899ff

Browse files
committed
chore: setup CI
1 parent 140061f commit 05899ff

File tree

2 files changed

+13
-12
lines changed

2 files changed

+13
-12
lines changed

.github/workflows/ci.yml

Lines changed: 8 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -17,25 +17,22 @@ jobs:
1717
- uses: actions/checkout@v4
1818
with:
1919
fetch-depth: 0
20-
20+
2121
- uses: pnpm/action-setup@v4
2222
with:
2323
version: 9
24-
25-
26-
27-
# This enables task distribution via Nx Cloud
28-
# Run this command as early as possible, before dependencies are installed
29-
# Learn more at https://nx.dev/ci/reference/nx-cloud-cli#npx-nxcloud-startcirun
30-
- run: pnpm dlx nx-cloud start-ci-run --distribute-on="3 linux-medium-js" --stop-agents-after="build"
31-
32-
24+
25+
# # This enables task distribution via Nx Cloud
26+
# # Run this command as early as possible, before dependencies are installed
27+
# # Learn more at https://nx.dev/ci/reference/nx-cloud-cli#npx-nxcloud-startcirun
28+
# - run: pnpm dlx nx-cloud start-ci-run --distribute-on="3 linux-medium-js" --stop-agents-after="build"
29+
3330
# Cache node_modules
3431
- uses: actions/setup-node@v4
3532
with:
3633
node-version: 20
3734
cache: 'pnpm'
38-
35+
3936
- run: pnpm install --frozen-lockfile
4037
- uses: nrwl/nx-set-shas@v4
4138

package.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,11 @@
22
"name": "rnef",
33
"version": "0.0.0",
44
"license": "MIT",
5-
"scripts": {},
5+
"scripts": {
6+
"build": "nx build create-app",
7+
"test": "nx run-many --target=test",
8+
"lint": "nx run-many --target=lint"
9+
},
610
"private": true,
711
"dependencies": {
812
"tslib": "^2.3.0"

0 commit comments

Comments
 (0)