Skip to content

Commit 34db636

Browse files
committed
feat(nextra): switch build to nextra
1 parent aa04329 commit 34db636

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

60 files changed

+14063
-1242
lines changed

.github/dependabot.yml

Lines changed: 10 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,12 @@
11
version: 2
22
updates:
3-
- package-ecosystem: bundler
4-
directory: "/"
5-
schedule:
6-
interval: daily
7-
open-pull-requests-limit: 10
8-
ignore:
9-
- dependency-name: sprockets
10-
versions:
11-
- "> 4.0.0.beta8, < 4.0.1"
12-
- dependency-name: html-proofer
13-
versions:
14-
- 3.18.6
15-
- 3.19.0
3+
- package-ecosystem: npm
4+
directory: /
5+
schedule:
6+
interval: daily
7+
open-pull-requests-limit: 10
8+
9+
- package-ecosystem: github-actions
10+
directory: /
11+
schedule:
12+
interval: daily

.github/workflows/ci.yml

Lines changed: 38 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -2,38 +2,47 @@ name: CI
22

33
on:
44
push:
5-
branches: [ develop ]
5+
branches: [develop]
66
pull_request:
7-
branches: [ develop ]
7+
branches: [develop]
88

99
jobs:
10-
test:
11-
10+
build-and-deploy:
1211
runs-on: ubuntu-latest
12+
permissions:
13+
contents: write
1314

1415
steps:
15-
- uses: mfinelli/setup-imagemagick@v5
16-
17-
- uses: actions/checkout@v2
18-
with:
19-
persist-credentials: false
20-
21-
- name: Set up Ruby
22-
uses: ruby/setup-ruby@v1
23-
with:
24-
bundler-cache: true
25-
26-
- name: Run tests
27-
run: bundle exec rake test
28-
29-
- name: Deploy
30-
if: github.ref == 'refs/heads/develop' && github.event_name == 'push'
31-
uses: JamesIves/[email protected]
32-
with:
33-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
34-
BRANCH: publish
35-
FOLDER: _site
36-
CLEAN: true
37-
GIT_CONFIG_NAME: 'Jekyll [automated]'
38-
GIT_CONFIG_EMAIL: '[email protected]'
39-
BASE_BRANCH: develop
16+
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
17+
18+
- uses: pnpm/action-setup@41ff72655975bd51cab0327fa583b6e92b6d3061 # v4.2.0
19+
with:
20+
version: 10
21+
22+
- name: Use Node.js
23+
uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6.1.0
24+
with:
25+
node-version: '22'
26+
cache: pnpm
27+
28+
- name: Install dependencies
29+
run: pnpm install
30+
31+
- name: Lint
32+
run: pnpm run lint
33+
34+
- name: Type Check
35+
run: pnpm run check:types
36+
37+
- name: Build
38+
run: pnpm run build
39+
40+
- name: Deploy
41+
if: github.ref == 'refs/heads/develop' && github.event_name == 'push'
42+
uses: JamesIves/github-pages-deploy-action@9d877eea73427180ae43cf98e8914934fe157a1a # v4.7.6
43+
with:
44+
branch: publish
45+
folder: out
46+
clean: true
47+
git-config-name: GitHub Actions
48+
git-config-email: [email protected]

.gitignore

Lines changed: 66 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,69 @@ _site
44
.asset-cache/
55
.jekyll-cache/
66
.sass-cache/
7+
8+
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
9+
10+
# dependencies
11+
/node_modules
12+
/.pnp
13+
.pnp.*
14+
.yarn/*
15+
!.yarn/patches
16+
!.yarn/plugins
17+
!.yarn/releases
18+
!.yarn/versions
19+
20+
# testing
21+
/coverage
22+
/vitest-test-results
23+
24+
# next.js
25+
.next/
26+
out/
27+
28+
# production
29+
/build
30+
31+
# misc
32+
.DS_Store
33+
*.pem
34+
Thumbs.db
35+
36+
# debug
37+
npm-debug.log*
38+
yarn-debug.log*
39+
yarn-error.log*
40+
.pnpm-debug.log*
41+
42+
# local env files
43+
.env*.local
44+
45+
# Sentry Config File
46+
.env.sentry-build-plugin
47+
48+
# local folder
49+
local
50+
51+
# vercel
52+
.vercel
53+
54+
# typescript
55+
*.tsbuildinfo
56+
next-env.d.ts
57+
58+
# Database
59+
*.db
60+
61+
# storybook
62+
storybook-static
63+
*storybook.log
64+
build-archive.log
65+
66+
# playwright
67+
/test-results/
68+
/playwright-report/
69+
/playwright/.cache/
70+
71+
# pagefind search
72+
_pagefind/

.nojekyll

Whitespace-only changes.

.stickler.yml

Lines changed: 0 additions & 12 deletions
This file was deleted.

Gemfile

Lines changed: 0 additions & 20 deletions
This file was deleted.

0 commit comments

Comments
 (0)