diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7ca22001..343aa60c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -6,28 +6,43 @@ on: pull_request: types: [opened, synchronize] +env: + TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }} + TURBO_TEAM: ${{ vars.TURBO_TEAM }} + jobs: + lint: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + with: + fetch-depth: 2 + - uses: pnpm/action-setup@v2 + with: + version: 8 + - uses: actions/setup-node@v3 + with: + node-version: 18 + cache: 'pnpm' + - run: pnpm install + - run: pnpm turbo lint prettier build: - name: Build and Test - timeout-minutes: 15 runs-on: ubuntu-latest - steps: - - name: Check out code - uses: actions/checkout@v3 + - uses: actions/checkout@v3 with: fetch-depth: 2 - uses: pnpm/action-setup@v2 with: version: 8 - - name: Setup Node.js environment - uses: actions/setup-node@v3 + - uses: actions/setup-node@v3 with: node-version: 18 cache: 'pnpm' - - - name: Install dependencies - run: pnpm install - - - name: Lint - run: pnpm turbo lint prettier + - uses: ruby/setup-ruby@v1 + with: + bundler-cache: true + - run: pnpm install + - run: bundle install + working-directory: apps/homepage + - run: pnpm turbo build diff --git a/.ruby-version b/.ruby-version new file mode 100644 index 00000000..0aec50e6 --- /dev/null +++ b/.ruby-version @@ -0,0 +1 @@ +3.1.4 diff --git a/apps/homepage/.gitignore b/apps/homepage/.gitignore new file mode 100644 index 00000000..95090c3a --- /dev/null +++ b/apps/homepage/.gitignore @@ -0,0 +1,2 @@ +vendor +_site diff --git a/apps/homepage/Gemfile.lock b/apps/homepage/Gemfile.lock index aa260eb7..44b89fde 100644 --- a/apps/homepage/Gemfile.lock +++ b/apps/homepage/Gemfile.lock @@ -1,14 +1,15 @@ GEM remote: https://rubygems.org/ specs: - activesupport (6.0.4.4) + activesupport (6.0.6.1) concurrent-ruby (~> 1.0, >= 1.0.2) i18n (>= 0.7, < 2) minitest (~> 5.1) tzinfo (~> 1.1) zeitwerk (~> 2.2, >= 2.2.2) - addressable (2.8.0) - public_suffix (>= 2.0.2, < 5.0) + addressable (2.8.5) + public_suffix (>= 2.0.2, < 6.0) + base64 (0.2.0) coffee-script (2.4.1) coffee-script-source execjs @@ -16,40 +17,22 @@ GEM colorator (1.1.0) commonmarker (0.17.13) ruby-enum (~> 0.5) - concurrent-ruby (1.1.9) - dnsruby (1.61.7) - simpleidn (~> 0.1) + concurrent-ruby (1.2.2) + dnsruby (1.70.0) + simpleidn (~> 0.2.1) em-websocket (0.5.3) eventmachine (>= 0.12.9) http_parser.rb (~> 0) - ethon (0.15.0) + ethon (0.16.0) ffi (>= 1.15.0) eventmachine (1.2.7) - execjs (2.8.1) - faraday (1.9.3) - faraday-em_http (~> 1.0) - faraday-em_synchrony (~> 1.0) - faraday-excon (~> 1.1) - faraday-httpclient (~> 1.0) - faraday-multipart (~> 1.0) - faraday-net_http (~> 1.0) - faraday-net_http_persistent (~> 1.0) - faraday-patron (~> 1.0) - faraday-rack (~> 1.0) - faraday-retry (~> 1.0) + execjs (2.9.1) + faraday (2.7.12) + base64 + faraday-net_http (>= 2.0, < 3.1) ruby2_keywords (>= 0.0.4) - faraday-em_http (1.0.0) - faraday-em_synchrony (1.0.0) - faraday-excon (1.1.0) - faraday-httpclient (1.0.1) - faraday-multipart (1.0.3) - multipart-post (>= 1.2, < 3) - faraday-net_http (1.0.1) - faraday-net_http_persistent (1.2.0) - faraday-patron (1.0.0) - faraday-rack (1.0.0) - faraday-retry (1.0.3) - ffi (1.15.5) + faraday-net_http (3.0.2) + ffi (1.16.3) forwardable-extended (2.6.0) gemoji (3.0.1) github-pages (219) @@ -102,7 +85,7 @@ GEM octokit (~> 4.0) public_suffix (>= 3.0, < 5.0) typhoeus (~> 1.3) - html-pipeline (2.14.0) + html-pipeline (2.14.3) activesupport (>= 2) nokogiri (>= 1.4) http_parser.rb (0.8.0) @@ -219,33 +202,28 @@ GEM kramdown-parser-gfm (1.1.0) kramdown (~> 2.0) liquid (4.0.3) - listen (3.7.0) + listen (3.8.0) rb-fsevent (~> 0.10, >= 0.10.3) rb-inotify (~> 0.9, >= 0.9.10) mercenary (0.3.6) - mini_portile2 (2.8.0) minima (2.5.1) jekyll (>= 3.5, < 5.0) jekyll-feed (~> 0.9) jekyll-seo-tag (~> 2.1) - minitest (5.15.0) - multipart-post (2.1.1) - nokogiri (1.13.6) - mini_portile2 (~> 2.8.0) + minitest (5.20.0) + nokogiri (1.15.5-x86_64-linux) racc (~> 1.4) - nokogiri (1.13.6-x86_64-linux) - racc (~> 1.4) - octokit (4.21.0) - faraday (>= 0.9) - sawyer (~> 0.8.0, >= 0.5.3) + octokit (4.25.1) + faraday (>= 1, < 3) + sawyer (~> 0.9) pathutil (0.16.2) forwardable-extended (~> 2.6) - public_suffix (4.0.6) - racc (1.6.0) - rb-fsevent (0.11.0) + public_suffix (4.0.7) + racc (1.7.3) + rb-fsevent (0.11.2) rb-inotify (0.10.1) ffi (~> 1.0) - rexml (3.2.5) + rexml (3.2.6) rouge (3.26.0) ruby-enum (0.9.0) i18n @@ -257,30 +235,29 @@ GEM sass-listen (4.0.0) rb-fsevent (~> 0.9, >= 0.9.4) rb-inotify (~> 0.9, >= 0.9.7) - sawyer (0.8.2) + sawyer (0.9.2) addressable (>= 2.3.5) - faraday (> 0.8, < 2.0) + faraday (>= 0.17.3, < 3) simpleidn (0.2.1) unf (~> 0.1.4) terminal-table (1.8.0) unicode-display_width (~> 1.1, >= 1.1.1) thread_safe (0.3.6) - typhoeus (1.4.0) + typhoeus (1.4.1) ethon (>= 0.9.0) - tzinfo (1.2.9) + tzinfo (1.2.11) thread_safe (~> 0.1) unf (0.1.4) unf_ext - unf_ext (0.0.8) + unf_ext (0.0.9.1) unicode-display_width (1.8.0) - zeitwerk (2.5.3) + zeitwerk (2.6.12) PLATFORMS - ruby x86_64-linux DEPENDENCIES github-pages (~> 219) BUNDLED WITH - 2.3.13 + 2.4.10 diff --git a/apps/homepage/_config.yml b/apps/homepage/_config.yml index 7ca798e4..28eb7670 100644 --- a/apps/homepage/_config.yml +++ b/apps/homepage/_config.yml @@ -9,3 +9,4 @@ exclude: - Gemfile - Gemfile.lock - README.md + - vendor diff --git a/apps/homepage/package.json b/apps/homepage/package.json new file mode 100644 index 00000000..6c45d7c4 --- /dev/null +++ b/apps/homepage/package.json @@ -0,0 +1,7 @@ +{ + "name": "homepage", + "version": "1.0.0", + "scripts": { + "build": "bundle exec jekyll build" + } +} diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 3e0a08af..932ac396 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -25,6 +25,8 @@ importers: specifier: ^1.9.6 version: 1.10.16 + apps/homepage: {} + apps/registry: dependencies: '@faker-js/faker': diff --git a/turbo.json b/turbo.json index b9dd32f9..16dec3b7 100644 --- a/turbo.json +++ b/turbo.json @@ -6,7 +6,7 @@ "cache": false }, "build": { - "outputs": [".next/**", "!.next/cache/**"] + "outputs": [".next/**", "!.next/cache/**", "_site/**"] }, "lint": {}, "//#format": {},