Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
yuhonas committed Feb 2, 2024
1 parent d05fa4c commit a2a007e
Show file tree
Hide file tree
Showing 172 changed files with 158 additions and 39,472 deletions.
File renamed without changes.
84 changes: 42 additions & 42 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,42 +1,42 @@
name: test, build and deploy site
on: [push]
jobs:
cypress-run:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v3
- name: run e2e tests
uses: cypress-io/github-action@v5
with:
start: npm run ci:e2e
env:
CYPRESS_baseUrl: http://localhost:8080/
- uses: actions/upload-artifact@v3
if: failure()
with:
name: cypress-screenshots
path: ./cypress/videos/
build:
needs: cypress-run
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/main'
steps:
- uses: actions/checkout@v3
- name: setup node
uses: actions/setup-node@v3
with:
node-version: '18.x'
cache: 'npm'
- name: build for static hosting
run: |
npm install
npm run docs:build
touch docs/.vitepress/dist/.nojekyll # https://github.blog/2009-12-29-bypassing-jekyll-on-github-pages/
- name: deploy the site
uses: crazy-max/ghaction-github-pages@v2
with:
build_dir: docs/.vitepress/dist/
fqdn: ${{ secrets.SITE_FQDN }}
env:
GH_PAT: ${{ secrets.DEPLOYMENT_PAT }}
# name: test, build and deploy site
# on: [push]
# jobs:
# cypress-run:
# runs-on: ubuntu-latest
# steps:
# - name: checkout
# uses: actions/checkout@v3
# - name: run e2e tests
# uses: cypress-io/github-action@v5
# with:
# start: npm run ci:e2e
# env:
# CYPRESS_baseUrl: http://localhost:8080/
# - uses: actions/upload-artifact@v3
# if: failure()
# with:
# name: cypress-screenshots
# path: ./cypress/videos/
# build:
# needs: cypress-run
# runs-on: ubuntu-latest
# if: github.ref == 'refs/heads/main'
# steps:
# - uses: actions/checkout@v3
# - name: setup node
# uses: actions/setup-node@v3
# with:
# node-version: '18.x'
# cache: 'npm'
# - name: build for static hosting
# run: |
# npm install
# npm run docs:build
# touch docs/.vitepress/dist/.nojekyll # https://github.blog/2009-12-29-bypassing-jekyll-on-github-pages/
# - name: deploy the site
# uses: crazy-max/ghaction-github-pages@v2
# with:
# build_dir: docs/.vitepress/dist/
# fqdn: ${{ secrets.SITE_FQDN }}
# env:
# GH_PAT: ${{ secrets.DEPLOYMENT_PAT }}
65 changes: 26 additions & 39 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,49 +1,36 @@
.DS_Store
node_modules
/dist
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.

/tests/e2e/videos/
/tests/e2e/screenshots/
# dependencies
/node_modules
/.pnp
.pnp.js
.yarn/install-state.gz

# testing
/coverage

# local env files
.env.local
.env.*.local
# next.js
/.next/
/out/

# production
/build

# Log files
# misc
.DS_Store
*.pem

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

# Editor directories and files
.idea
.vscode
*.suo
*.ntvs*
*.njsproj
*.sln
*.sw?

# Stores VSCode versions used for testing VSCode extensions
.vscode-test

# cypress
cypress/videos/

# latex build output
public/*.aux
public/*.out
public/*.log

# python
__pycache__

# local env files
.env*.local

# vite build
docs/.vitepress/dist/
docs/.vitepress/cache/
# vercel
.vercel

# cypress
cypress/videos
cypress/screenshots
# typescript
*.tsbuildinfo
next-env.d.ts
29 changes: 29 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
{
"version": "0.2.0",
"configurations": [
{
"type": "chrome",
"request": "launch",
"name": "vuejs: chrome",
"url": "http://localhost:8080",
"webRoot": "${workspaceFolder}/src",
"breakOnLoad": true,
"sourceMapPathOverrides": {
"webpack:///src/*": "${webRoot}/*"
}
},
{
"type": "firefox",
"request": "launch",
"name": "vuejs: firefox",
"url": "http://localhost:8080",
"webRoot": "${workspaceFolder}/src",
"pathMappings": [
{
"url": "webpack:///src/",
"path": "${webRoot}/"
}
]
}
]
}
2 changes: 2 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
{
}
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes.
File renamed without changes.
1 change: 0 additions & 1 deletion v2/next.config.mjs → next.config.mjs
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
/** @type {import('next').NextConfig} */
const nextConfig = {
reactStrictMode: true,
distDir: "build",
images: {
remotePatterns: [
{
Expand Down
Loading

0 comments on commit a2a007e

Please sign in to comment.