Skip to content

Commit

Permalink
initial setup
Browse files Browse the repository at this point in the history
  • Loading branch information
juristr committed Oct 31, 2024
0 parents commit 0957f02
Show file tree
Hide file tree
Showing 112 changed files with 66,899 additions and 0 deletions.
40 changes: 40 additions & 0 deletions .github/workflows/verify.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
name: E2E Tests
on:
push:
branches: [main]
pull_request:
branches: [main]

jobs:
test:
timeout-minutes: 60
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install Node.js
uses: actions/setup-node@v4
with:
node-version: lts/*
- uses: pnpm/action-setup@v4
name: Install pnpm
with:
version: 9
run_install: false
- name: Install dependencies
run: pnpm install
- name: Install Playwright Browsers
run: pnpm --filter "@tasker/e2e-web" exec playwright install --with-deps
- name: Run Checks/Lint/Build
run: |
pnpm format:check
pnpm lint
pnpm --filter "@tasker/web" build
pnpm --filter "@tasker/*" test
- name: Run Playwright tests
run: pnpm --filter "@tasker/e2e-web" e2e
- uses: actions/upload-artifact@v4
if: always()
with:
name: playwright-report
path: e2e/web/playwright-report/
retention-days: 30
36 changes: 36 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
# Dependencies
node_modules
.pnp
.pnp.js

# Local env files
.env
.env.local
.env.development.local
.env.test.local
.env.production.local

# Testing
coverage

# Build Outputs
.next/
out/
build
dist
tmp

# Debug
npm-debug.log*
yarn-debug.log*
yarn-error.log*

# Playwright
test-results/
playwright-report/
blob-report/
playwright/.cache/

# Misc
.DS_Store
*.pem
Empty file added .npmrc
Empty file.
32 changes: 32 additions & 0 deletions .nx/cache/run.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
{
"run": {
"command": "nx start @tasker/web",
"startTime": "2024-10-28T13:45:19.008Z",
"endTime": "2024-10-28T13:45:19.886Z",
"inner": false
},
"tasks": [
{
"taskId": "@tasker/web:build",
"target": "build",
"projectName": "@tasker/web",
"hash": "17084222984112237956",
"startTime": "2024-10-28T13:45:19.014Z",
"endTime": "2024-10-28T13:45:19.018Z",
"params": "",
"cacheStatus": "local-cache-hit",
"status": 0
},
{
"taskId": "@tasker/web:start",
"target": "start",
"projectName": "@tasker/web",
"hash": "15083476184939138061",
"startTime": "2024-10-28T13:45:19.023Z",
"endTime": "2024-10-28T13:45:19.885Z",
"params": "",
"cacheStatus": "cache-miss",
"status": 1
}
]
}
13 changes: 13 additions & 0 deletions .nx/cache/terminalOutputs/15083476184939138061
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@

> @tasker/[email protected] start /Users/juri/nrwl/content/videos/tasker/apps/web
> next start

▲ Next.js 14.2.8
- Local: http://localhost:3000

✓ Starting...
Error: Could not find a production build in the '.next' directory. Try building your app with 'next build' before starting the production server. https://nextjs.org/docs/messages/production-start-no-build-id
at setupFsCheck (/Users/juri/nrwl/content/videos/tasker/node_modules/.pnpm/[email protected]_@[email protected]_@[email protected][email protected][email protected][email protected][email protected]/node_modules/next/dist/server/lib/router-utils/filesystem.js:151:19)
at async initialize (/Users/juri/nrwl/content/videos/tasker/node_modules/.pnpm/[email protected]_@[email protected]_@[email protected][email protected][email protected][email protected][email protected]/node_modules/next/dist/server/lib/router-server.js:62:23)
at async Server.<anonymous> (/Users/juri/nrwl/content/videos/tasker/node_modules/.pnpm/[email protected]_@[email protected]_@[email protected][email protected][email protected][email protected][email protected]/node_modules/next/dist/server/lib/start-server.js:249:36)
 ELIFECYCLE  Command failed with exit code 1.
5 changes: 5 additions & 0 deletions .nx/cache/terminalOutputs/17084222984112237956
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@

> @tasker/[email protected] build /Users/juri/nrwl/content/videos/tasker/apps/web
> next build

^C
Binary file not shown.
Binary file not shown.
Binary file not shown.
369 changes: 369 additions & 0 deletions .nx/workspace-data/d/daemon.log

Large diffs are not rendered by default.

Loading

0 comments on commit 0957f02

Please sign in to comment.